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

When a gas is turned into a liquid, the process is called

A) condensation B) evaporation
C) deposition D) sublimation
 
Answer & Explanation Answer: A) condensation

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science

79 14110
Q:

Complete the following sentence with the most appropriate option.

 

Solar energy ____ generates more power than wind energy.

 

A) sometimes B) never
C) always D) often
 
Answer & Explanation Answer: A) sometimes

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

1 14099
Q:

First China War was fought between

A) China and Britain B) China and France
C) China and Egypt D) China and Greek
 
Answer & Explanation Answer: A) China and Britain

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

78 14097
Q:

Name the only animal that dislikes white colour?

Answer

Tiger.

Report Error

View answer Workspace Report Error Discuss

132 14088
Q:

Which one of the following with regard to the term ‘bank run’ is correct?

 

A) The net balance of money a bank has in its chest at the end of the day’s business B) The ratio of bank’s total deposits and total liabilities
C) A panic situation when the deposit holders start withdrawing cash from the banks D) The period in which a bank creates highest credit in the market
 
Answer & Explanation Answer: C) A panic situation when the deposit holders start withdrawing cash from the banks

Explanation:

A bank run occurs when a large number of people withdraw their money from a bank, because they believe the bank may cease to function soon.

A banking panic or bank panic is a financial crisis that occurs when many banks suffer runs at the same time, as people suddenly try to convert their threatened deposits into cash or try to get out of their domestic banking system altogether.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

0 14075
Q:

In Microsoft Excel , Ctrl+ down arrow key leads to _____________ cell movement on spreadsheet.

 

A) End of column B) End of row
C) One cell Left D) One cell right
 
Answer & Explanation Answer: A) End of column

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

32 14070
Q:

Who is the author of 'Anandmath'

A) Rabindranath Tagore B) Bankim Chandra Chattopadyaya
C) Sarojini Nayadu D) Jyotiba Phule
 
Answer & Explanation Answer: B) Bankim Chandra Chattopadyaya

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

39 14069