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

The 9th South Asian Federation Games were held in which of the following cities

A) Islamabad B) Hyderabad
C) Colombo D) None of these
 
Answer & Explanation Answer: A) Islamabad

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

38 14123
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 14113
Q:

Rearrange the parts of the sentence in correct order.

 

Endothelial cells

 

P : the damaged cell

Q : restoring circulation to

R : are useful in

 

A) QRP B) QPR
C) RQP D) PRQ
 
Answer & Explanation Answer: C) RQP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 14113
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 14111
Q:

Improve the bracketed part of the sentence.

She could not cope (by) the heavy workload.

 

A) with B) of
C) up D) no improvement
 
Answer & Explanation Answer: A) with

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

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

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 14094