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

Improve the bracketed part of the sentence.

 

According to an official spokesperson, polling was held amid tight security arrangements in 29 municipal councils and panchayats (over the State).

 

A) besides the State B) behind the State
C) across the State D) No improvement
 
Answer & Explanation Answer: C) across the State

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14374
Q:

The philosophy  propounded in the Upanishads is known as 

A) Advaita B) Vedanta
C) Yoga D) Samkhya
 
Answer & Explanation Answer: B) Vedanta

Explanation:

The Upanishads are commonly referred to as Vedanta. 


The Upanishads alone are widely known and among the most important literature in the history of Indian religions and culture and their central ideas are at the spiritual core of Hindus.

 

The upanishads are a part of the Vedas and are ancient Sanskrit texts that contain some of the central philosophical concepts and ideas of Hinduism, some of which are shared with Buddhism, and Jainism.

Report Error

View Answer Report Error Discuss

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

15 14370
Q:

Manipur has common boundaries with the group of states of

A) Meghalaya, Mizoram and Tripura B) Nagaland, Mizoram and Meghalaya
C) Nagaland, Assam and Mizoram D) Nagaland, Meghalaya and Tripura
 
Answer & Explanation Answer: C) Nagaland, Assam and Mizoram

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

53 14354
Q:

Select the antonym of

 

conception

 

A) clue B) cognition
C) fact D) notion
 
Answer & Explanation Answer: C) fact

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14352
Q:

Select the synonym of

 

elate

 

A) abase B) faze
C) exhilarate D) enervate
 
Answer & Explanation Answer: C) exhilarate

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14350
Q:

Which one of the following Indus Civilization site gives evidence of a dockyard

A) Harappa B) Lothal
C) Mohenjodaro D) Rakhigarhi
 
Answer & Explanation Answer: B) Lothal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

22 14344
Q:

Improve the given sentence if necessary.

Suppose  if you  are  selected,  will  you  give us a treat?

A) Supposing if  B) If suppose
C) If D) No improvement
 
Answer & Explanation Answer: C) If

Explanation:

‘Suppose’ and ‘if’ both are used to guess, or think, or imagine something and both means the same thing. So, using them together is superfluous. So, ‘if’will be used. 

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14343