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

Which one of the following elements is the poorest conductor of heat

A) sodium B) lead
C) zinc D) mercury
 
Answer & Explanation Answer: B) lead

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

45 13682
Q:

Choose the correctly spelt word

The threat of an epidemic caused great alarm and

A) Trepidation B) Terpidation
C) Trepidition D) Trepidattion
 
Answer & Explanation Answer: A) Trepidation

Explanation:

Trepidation is spelt correctly which means a feeling of fear or anxiety about something that may happen.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 13672
Q:

Rearrange the parts of the sentence in correct order.

A serious critic
 
P :meaning of a work of art
Q :has to comprehend the particular
R :content, unique structure, and the special

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 13672
Q:

Where was the first parliamentary form of Government formed

A) Britain B) Belgium
C) France D) Switzerland
 
Answer & Explanation Answer: A) Britain

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

20 13670
Q:

Select the antonym of

primed

A) fit B) able
C) unready D) prepped
 
Answer & Explanation Answer: C) unready

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 13669
Q:

Vaccination against which disease was conducted recently as a National Vaccination Day?

 

 

A) Polio B) Cholera
C) Malaria D) Tuberculosis
 
Answer & Explanation Answer: A) Polio

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

2 13666
Q:

Improve the bracketed part of the sentence.

 

(It is no good to cry) over past failures.

 

A) It is of no good crying B) It is of no good to cry
C) It is no good crying D) no improvement
 
Answer & Explanation Answer: C) It is no good crying

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 13661