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

Improve the bracketed part of the sentence.

 

Election was an ‘opinion minus democracy’ in which the innocent and helpless (people were pitted among) government’s muscle power State machinery.

 

A) people were pitted against B) people are pitted against
C) people would pitted against D) No improvement
 
Answer & Explanation Answer: A) people were pitted against

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 13724
Q:

The ratio of the total distance travelled by a body to the total time taken by it is its __________________.

 

A) instantaneous velocity B) linear velocity
C) average speed D) acceleration
 
Answer & Explanation Answer: C) average speed

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

2 13720
Q:

What is the name of the second layer of the Earth's three concentric layers?

 

A) SIAL B) SIMA
C) NIFE D) No option is correct
 
Answer & Explanation Answer: B) SIMA

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

0 13719
Q:

Lothal a site where dockyard of which of the following civilization were found

A) Indus Valley B) Mesopotamian
C) Egyptian D) Persian
 
Answer & Explanation Answer: A) Indus Valley

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

25 13718
Q:

what does the term 'Lithosphere' refer to

A) Interior of the earth B) Crust of the earth
C) Plants and animals D) None of the above
 
Answer & Explanation Answer: B) Crust of the earth

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

33 13715
Q:

Improve the bracketed part of the sentence.

 

(As soon after the players arrived) in decorated cars, the ceremony began with traditional African drummers and dancers blowing conch shells.

 

A) Soon after the players arrive B) Soon after the players arrived
C) As soon as the players arrived after D) No improvement
 
Answer & Explanation Answer: B) Soon after the players arrived

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 13712
Q:

The National Highway -1 connects Delhi to ________

A) Chennai B) Kolkata
C) Mumbai D) Amritsar
 
Answer & Explanation Answer: D) Amritsar

Explanation:

It passes through Ambala and Jalandhar

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

40 13706