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 14370
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:

Select the antonym of

agonising

 

A) vehement B) fierce
C) excruciating D) cordial
 
Answer & Explanation Answer: D) cordial

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14365
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 14353
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:

Civil equality implies

A) Equality before law B) Equality of opportunity
C) Equal distribution of wealth D) Equal right to participate in the affairs of the State
 
Answer & Explanation Answer: A) Equality before law

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

34 14327
Q:

The nitrogen atom has 7 protons and 7 electrons,The nitride ion will have

A) 10 protons and 7 electrons B) 7 protons and 10 electrons
C) 4 protons and 7 electrons D) 4 protons and 10 electrons
 
Answer & Explanation Answer: B) 7 protons and 10 electrons

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

42 14304
Q:

A Computer works on a _______ number system

A) binary B) octal
C) decimal D) hexadecimal
 
Answer & Explanation Answer: A) binary

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

49 14303