Questions

Q:

What will be output when you will execute following c code?

#include <stdio.h>
enum actor

{
    SeanPenn=5,
    AlPacino=-2,
    GaryOldman,
    EdNorton
};
void main()

{
     enum actor a=0;
     switch(a)

      {
         case SeanPenn:  printf("Kevin Spacey");
                         break;
         case AlPacino:  printf("Paul Giamatti");
                         break;
         case GaryOldman:printf("Donald Shuterland");
                         break;
         case EdNorton:  printf("Johnny Depp");
      } 
}

A) Kevin Spacey B) Paul Giamatti
C) Donald Shuterland D) Johnny Depp
 
Answer & Explanation Answer: D) Johnny Depp

Explanation:

Default value of enum constant
GaryOldman = -2 +1 = -1
And default value of enum constant
EdNorton = -1 + 1 = 0
Note: Case expression can be enum constant.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 14462
Q:

Ovules are found within structure

 

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

1 14453
Q:

Ultrasonic waves are used for stirring liquid solutions because they 

A) do not produce noise during the operation B) are easy to produce
C) can produce perfectly homogeneous solutions D) do not produce chemical reactions in the solution
 
Answer & Explanation Answer: C) can produce perfectly homogeneous solutions

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

87 14451
Q:

Which High Court for the first time in India declared "Bandh" as illegal

A) Allahabad High Court B) Gujarat High Court
C) Kerala High Court D) Rajasthan High Coutrt
 
Answer & Explanation Answer: C) Kerala High Court

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

24 14449
Q:

Cultural transmission refers to the process of ______

 

 

A) cultural patterns moving from one society to another B) using the oral tradition
C) passing cultural patterns from one generation to another D) using writing to enshrine cultural patterns
 
Answer & Explanation Answer: C) passing cultural patterns from one generation to another

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

1 14432
Q:

Rearrange the parts of the sentence in correct order.

 

A truly free nation will

P-will fail in the marketplace of ideas
Q-destruction as a bad idea that
R-confidently view even its advocated

 

A) QRP B) QPR
C) PRQ D) RQP
 
Answer & Explanation Answer: D) RQP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14416
Q:

The annual financial statement prepared under article 112 of the Indian Constitution is called ___.

 

A) Public account B) Consolidated account
C) Budget D) Revenue account
 
Answer & Explanation Answer: C) Budget

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 14401
Q:

The capacity of a stream is directly related to its

 

 

A) Velocity B) Gradient
C) Discharge D) Meandering
 
Answer & Explanation Answer: C) Discharge

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

0 14397