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

What is the precise time of earth rotation on axis?

Answer

23 hrs, 56 minutes and 4.9 seconds

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

0 2159
Q:

CTRL + ] is used for

A) Re-do B) Right align text
C) Increase in font size D) Expand or collapse the ribbon
 
Answer & Explanation Answer: C) Increase in font size

Explanation:

CTRL + ] is a computer shortcut and is used for Increase in font size.

 

Shortcuts :

Re-do ---- Ctrl + Y

Right align text ---- Ctrl + R

Expand or collapse the ribbon ---- Ctrl + F1

Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

3 2158
Q:

Heat transfer by conduction occurs when molecules

A) Collide B) Combine
C) Heated D) None of the above
 
Answer & Explanation Answer: A) Collide

Explanation:

Conduction is the movement of heat through a substance by the collision of molecules. It occurs when two object at different temperatures are in contact with each other. Heat flows from the warmer to the cooler object until they are both at the same temperature.

Heat_transfer_by_conduction_occurs_when_molecules1560488148.jpg image

 

Report Error

View Answer Report Error Discuss

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

4 2158
Q:

To the economist, total cost includes

A) neither implicit nor explicit costs. B) implicit, but not explicit, costs.
C) explicit, but not implicit, cost. D) explicit and implicit costs.
 
Answer & Explanation Answer: D) explicit and implicit costs.

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2158
Q:

The production possibilities curve illustrates the basic principle that

A) if all the resources of an economy are in use, more of one good can be produced only if less of another good is produced. B) the production of more of any one good will in time require smaller and smaller sacrifices of other goods.
C) an economy will automatically obtain full employment of its resources. D) an economy's capacity to produce increases in proportion to its population size.
 
Answer & Explanation Answer: A) if all the resources of an economy are in use, more of one good can be produced only if less of another good is produced.

Explanation:

A graph that describes the maximum amount of one good that can be produced for every possible level of production of the other good is nothing but a production possibilities curve.

Report Error

View Answer Report Error Discuss

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

1 2157
Q:

What process accounts for species diversity?

A) Predation B) Mitosis
C) Symbiosis D) Meiosis
 
Answer & Explanation Answer: D) Meiosis

Explanation:

The process accounts for species diversity is Meiosis. Meiosis is termed as a specialized cell division which reduces chromosomes number by half and then creates for haploid cells.

Report Error

View Answer Report Error Discuss

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

1 2157
Q:

Which among the following is not correctly matched?

A) Parachute: W H carothers B) Barometer: Torricelli
C) Cells: Robert Hooke D) X- Ray: W Roentgen
 
Answer & Explanation Answer: A) Parachute: W H carothers

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2157