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

What two countries have nearly 50% of global coal reserves?

A) Iran & USA B) USA & China
C) Russia & USA D) Brazil & Russia
 
Answer & Explanation Answer: C) Russia & USA

Explanation:

United States and Russia have together almost 400 billion tones. Which represents nearly 50% of world's reserves of coal.

 

Report Error

View Answer Report Error Discuss

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

0 2221
Q:

What is the purpose of SQL Profiler in SQL server?

Answer

SQL profiler is a tool to monitor performance of various stored procedures. It is used to debug the queries and procedures. Based on performance, it identifies the slow executing queries. Capture any problems by capturing the events on production environment so that they can be solved.

Report Error

View answer Workspace Report Error Discuss

1 2221
Q:

The epic, Silappadikaram refers to the 

A) story of Rama B) Jaina elements in the storyline
C) culture of Sri Lankan Buddhists D) cult of Shakti worship
 
Answer & Explanation Answer: B) Jaina elements in the storyline

Explanation:

Silappadikaram is one of The Five Great Epics of Tamil Literature. Epic revolves around Kannagi, who having lost her husband to a miscarriage of justice at the court of the Pandyan Dynasty, wreaks her revenge on his kingdom.

 

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

0 2221
Q:

What does the EU do?

Answer

Execution Unit receives program instruction codes and data from BIU, executes these instructions and store the result in general registers.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2220
Q:

What is program counter in 8085?

Answer

Program counter holds the address of either the first byte of the next instruction to be fetched for exectuion or the address of the next byte of a multi byte instruction, which has not beeb completely fetched. in both the cases it gets increnented automatically one by one as the instruction bytes get fetched. Also Program register keeps the address of the next instruction.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2220
Q:

Improve the bracketed part of the sentence.
I (didn't see) him since we met two years ago.

A) am not seeing B) have not seen
C) had not seen D) No improvement
 
Answer & Explanation Answer: C) had not seen

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2220
Q:

Which one of the following pairs about organ/part that helps in locomotion is not correctly matched?

A) Euglena : Flagellum B) Paramecium : Cilia
C) Nereis : Pseudopodia D) Starfish : Tubefeet
 
Answer & Explanation Answer: C) Nereis : Pseudopodia

Explanation:

Euglena move by a flagellum (plural ‚ flagella), which is a long whip-like structure that acts like a little motor.

The paramecium uses its cilia to sweep the food along with some water into the cell mouth after it falls into the oral groove.

The underside of the starfish is covered with hundreds of tube feet, which it uses for walking around, for attaching tightly to rocks, and for holding on to prey.

Nereis possess setae and parapodia for locomotion

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

1 2220