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 2227
Q:

Which was true of Pullman porters in the 1920s?

A) The porters could not start a union because it was illegal. B) The porters needed a union because they were not treated well.
C) The porters did not need a union because they made good money. D) The porters could not start a union because they were African American.
 
Answer & Explanation Answer: B) The porters needed a union because they were not treated well.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2226
Q:

Which place receives the highest rainfall in India?

A) Agumbe B) Mawsynrum
C) Cherrapunji D) Mahabaleshwar
 
Answer & Explanation Answer: B) Mawsynrum

Explanation:

The top 7 places that experience the highest rainfall in India are ::

1. Mawsynram
2. Cherrapunji
3. Agumbe
4. Mahabaleshwar
5. Pasighat
6. Amboli
7. Gangtok

 

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

0 2226
Q:

Look at the underlined part of each sentence. Below each sentence are given three possible substitutions for the underlined part. If one of them (a), (b) or (c) is better than the underlined part, indicate your response on the Answer Sheet against the corresponding letter. If none of the substitutions imporves the sentence, indicate (d) as your response on the Answer Sheet.

The chairman with the other members of the board are touring Europe these days.

A) have been on touring B) is touring
C) have toured D) no improvement
 
Answer & Explanation Answer: B) is touring

Explanation:

The main subject ‘The Chairman’ is singular, hence singular verb ‘is touring’ will be used.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2226
Q:

Innate immune system defenses include

A) phagocytosis B) B cells
C) plasma cells D) T cells
 
Answer & Explanation Answer: A) phagocytosis

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2226
Q:

German Silver contains

A) 100% pure silver B) 10% silver
C) 1% silver D) 0% silver
 
Answer & Explanation Answer: D) 0% silver

Explanation:

German Silver is an alloy of copper, nickel and zinc. It is composed of 60% copper, 20% nickel and 20% zinc. Due to its white-silverish appearance it is named as german silver but it contains no silver in it.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

0 2225
Q:

Look at the underlined part of each sentence. Below each sentence are given three possible substitutions for the underlined part. If one of them (a), (b) or (c) is better than the underlined part, indicate your response on the Answer Sheet against the corresponding letter. If none of the substitutions imporves the sentence, indicate (d) as your response on the Answer Sheet.

 

He did not abide with my decision.

A) to  B) by
C) for D) no improvement
 
Answer & Explanation Answer: B) by

Explanation:

‘Abide’ means ‘to put up with’. ‘abide’ is always followed by the preposition ‘by’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2225
Q:

Other things equal an improvement in productivity will

A) shift the aggregate demand curve to the left B) shift the aggregate supply curve to the right
C) increase the equilibrium price level D) shift the aggregate supply curve to the left
 
Answer & Explanation Answer: B) shift the aggregate supply curve to the right

Explanation:
Report Error

View Answer Report Error Discuss

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

4 2225