Questions

Q:

Point out the error, if any, in the following program.

main()

{

    int ( *p )() = fun;

    ( *P ) ();

}

fun ()

{

    Printf ( "\nLoud and clear" );

Answer

Here we are initalising the function pointer p to the address of the function fun(). But during this initialisation the function has not been defined. Hence an error.


To eliminate this error add the prototype of the fun() before declaration of p, as shown below:


extern int fun();    or simply  int fun();

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2143
Q:

One of the following was not associated with the Gadar party

A) Lala Hardayal B) Baba Gurdit Singh
C) Mohammad Barkatullah D) Sohan Singh Bhakna
 
Answer & Explanation Answer: B) Baba Gurdit Singh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

1 2143
Q:

Which of the following states become the first to have four International Airports?

A) Telangana B) Maharashtra
C) Kerala D) Uttar Pradesh
 
Answer & Explanation Answer: C) Kerala

Explanation:

Kerala state become the first to have four International Airports with Kannur Airport.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2143
Q:

Cobalt 60 is used for cancer treatment it emmits which rays?

A) Alpha B) Beta
C) Gamma D) X rays
 
Answer & Explanation Answer: C) Gamma

Explanation:

Cobalt therapy or cobalt-60 therapy is the medical use of gamma rays from the radioisotope cobalt-60 to treat conditions such as cancer.

 

Cobalt 60 is a synthetic radioactive isotope of cobalt with a half-life of 5.2714 years. It is produced artificially in nuclear reactors.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

4 2142
Q:

In the following question, out of the four alternatives, select the alternative which will improve the bracketed part of the sentence. In case no improvement is needed, select "no improvement".


You (will being surprised) to learn that some leading philosophers have supported immoral views.

 

A) will be surprised B)  will be surprise
C) will be surprising D) no improvement
 
Answer & Explanation Answer: A) will be surprised

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

15 2142
Q:

What is an Extension of Entity Type?

Answer

The collections of entities of a particular Entity Type are grouped together into an entity set.

Report Error

View answer Workspace Report Error Discuss

0 2142
Q:

The name of ancient Egyptian script is ________

A) Cuneiform B) Hieroglyphic
C) Demotic D) There was no script
 
Answer & Explanation Answer: B) Hieroglyphic

Explanation:

The Egyptian scripts is known as Hieroglyphic which means 'sacred writing' . It consisted of 24 signs, each of which stood for a single consonant. Vowels were not written. Later the Egyptian started using symbols for ideas and the total number of signs rose to about 500. The writers, who constituted an important section of society , wrote with reed pens on the leaves of a plant called 'Papyrus' from which we get the word 'paper'.

Report Error

View Answer Report Error Discuss

Filed Under: World History

0 2141
Q:

what is the interrupt?

Answer

interrupt is a signal send by external device to the processor so as to request the processor to perform a particular work.


A signal informing a program that an events has occurred. when a program receives an interrupt signal, it takes a specified action (which can be to ignore the signal).

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2141