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

Select the synonym of

to concoct

 

A) to obliterate B) to contrive
C) to decimate D) to pulverize
 
Answer & Explanation Answer: B) to contrive

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 13743
Q:

Plaster of Paris ______.

 

I. changes into gypsum on mixing with water

II. is CaSO4.2H2O

III. is used for decoration

 

A) Only I and II   B) Only I and III  
C) Only II and III   D) All I, II and III  
 
Answer & Explanation Answer: B) Only I and III  

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 13741
Q:

Who translated Mahabharata into Persian?

A) Jahangir B) Aurangzeb
C) Akbar D) Shahjahan
 
Answer & Explanation Answer: C) Akbar

Explanation:

The Mahabharata was translated into Persian at Akbar’s orders, by Faizi and 'Abd al-Qadir Bada' uni (c. 1540 – 1615) and named Razmnameh.

Report Error

View Answer Report Error Discuss

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

20 13739
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 13738
Q:

What part of a check is the least important?

A) Memo line B) The check number
C) Routing number D) Signature line
 
Answer & Explanation Answer: A) Memo line

Explanation:

The parts of a check are :

 

1. Name & Address

2. Date

3. Pay to the order of

4. Written amount

5. Numeric amount box

6. For or Memo line 

7. Signature line

8. Check number

9. Account number

10. Bank name etc... 

mb_check_labeled1530955248.gif image

 

Hence, the Memo line which describes the purpose of the check is of least important in all the parts of a check.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

15 13737
Q:

The list of sixteen Mahajanapadas is available in

A) Mahabharat B) Chhandogya Upanishad
C) Anguttar Nikaya D) Samyukta Nikaya
 
Answer & Explanation Answer: C) Anguttar Nikaya

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

26 13735
Q:

By which Act was the Public Service Commission established for the first time in India ?

A) Government of India Act, 1919 B) Government of India Act, 1935
C) Indian Council Act, 1909 D) Indian Council Act, 1892
 
Answer & Explanation Answer: A) Government of India Act, 1919

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

47 13734