Questions

Q:

What would be the output of the following program?

main()

{

    extern int fun ( float );

    int a;

    a = fun ( 3. 14 );

    printf ("%d", a);

}

int fun ( aa )

float aa ;

{

     return ( (int) aa );

}

Answer

Error occurs because we have mixed the ANSI prototype with K & R style of function definition.


When we use ANSI prototype for a function and pass a float to the function it is promoted to a double. When the function accepts this double into a float a type mismatch occurs hence the error.


The remedy for this error could be to define the function as :


int fun (float aa)


{


  ....


}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

9 9011
Q:

There are approximately how many muscles in Human body ?

A) 206 B) 310
C) 554 D) 700
 
Answer & Explanation Answer: D) 700

Explanation:

Approximatey there are 700 muscles in Human body.

Report Error

View Answer Report Error Discuss

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

46 8999
Q:

Which of the following is not a property of water?

A) Low density B) Low specific heat
C) Low heat of vaporisation D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Water can moderate temperature because of the two properties: high-specific heat and the high heat of vaporization. 

 

Hence, all the above given options are not the properties of water.

Report Error

View Answer Report Error Discuss

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

4 8992
Q:

Safdar Hashmi is a name associated with

A) Drawing and Painting B) Journalism
C) Instrumental Music D) None of these
 
Answer & Explanation Answer: D) None of these

Explanation:

Correct Answer : Safdar Hashmi is a name associated with Drama

Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities

21 8991
Q:

What has three feet but no toes?

Answer

A Yardstick has three feet used for measuring but no toes.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

47 8991
Q:

"Let your heart fly" baseline is associated with which airlines company?

A) Fly Emirates B) Indian Airlines
C) Jet Airways D) Lufthansa
 
Answer & Explanation Answer: B) Indian Airlines

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

20 8985
Q:

Which of the following is the most stable carbocation?

Screenshot_(8)1522302473.png image

A) 4 B) 3
C) 2 D) 1
 
Answer & Explanation Answer: C) 2

Explanation:

Here the most stable carbocation is the option (2).

 

Carbocations are always hungry for electrons. The stability of carbocations increases from primary to secondary to tertiary. Here, option (c) shows the most stable carbocation because it can easily withdraw electrons from two other carbon atoms and the more electronegative oxygen atom.

 

Carbocation stability depends on hyperconjugation. The tertiary carbocation is stabilized by electron releasing inductive effect.

Report Error

View Answer Report Error Discuss

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

12 8982
Q:

Which of these illustrates the Secondary Structure of a Protein?

chemistry1519110232.jpg image

A) A B) B
C) C D) D
 
Answer & Explanation Answer: B) B

Explanation:

The Secondary Structure of a Protein is option B)

 

The Secondary Structure of a Protein results from Hydrogen Bonds.

Report Error

View Answer Report Error Discuss

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

2 8981