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

November 30 is observed as ______

A) Computer Security Day B) United Nations Day for South-South Cooperation
C) International Cooperative Day D) International Human Solidarity Day
 
Answer & Explanation Answer: A) Computer Security Day

Explanation:
Report Error

View Answer Report Error Discuss

38 13793
Q:

What would be the output of the following program ?

main()

{

     const int x = 5; 

      int *ptrx;

      ptrx = &x;

      *ptr = 10;

       printf ("%d", x);

}

A) 5 B) 10
C) Error D) Garbage value
 
Answer & Explanation Answer: B) 10

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

2 13792
Q:

Which one of the following canons of taxation was not advocated by Adam Smith?

 

A) Canon of equity B) Canon of certainty
C) Canon of convenience D) Canon of fiscal adequacy
 
Answer & Explanation Answer: D) Canon of fiscal adequacy

Explanation:

Adam Smith propounded the following first four canons of taxation -(1)Canon of Equity. (2) Canon of Certainty: (3) Canon of Convenience or Ease (4) Canon of Economy.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 13792
Q:

Which musical instrument Ustad Bismillah Khan used to play?

 

A) flute B) Tabla
C) Shehnai D) Sarod
 
Answer & Explanation Answer: C) Shehnai

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 13788
Q:

In which Schedule to the Constitution of India is the list of States and Union Territories given?

 

A) First Schedule  B) Second Schedule 
C) Fourth Schedule  D) Sixth Schedule
 
Answer & Explanation Answer: A) First Schedule 

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 13788
Q:

India is a Tropical country but has a Monsoonal climate because 

A) Its real extent is vast B) It is surrounded by the sea
C) The Himalayas provide the barrier effect D) Land and sea breeze create monsoons
 
Answer & Explanation Answer: C) The Himalayas provide the barrier effect

Explanation:

The whole of India, south of the Himalayas can be climatically treated as a tropical country as the Himalayas provide the barrier effect. 

 

Indian subcontinent is separated from the rest of Asia by the lofty Himalayan ranges which block the cold air masses moving southwards from Central Asia.

  

 As a result, during winters, the northern half of India is warmer by 3°C to 8°C than other areas located on same latitudes.

  

During summer, due to over the head position of the sun, the climate in the southern parts resemble equatorial dry climate.

 

The seasonal reversal of winds in Arabian Sea and Bay of Bengal give India a typical tropical monsoon climate.

 

So Indian climate, to be precise, is Tropical monsoon type (a distinct wet and dry climate) rather than just a tropical or half temperate climate.

Report Error

View Answer Report Error Discuss

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

21 13788
Q:

Improve the bracketed part of the sentence.

Woodrow Wilson was referring to the liberal idea of the economic market when he said that the free enterprise system is the (much) efficient economic system.

A) most B) many
C) mere D) No improvement
 
Answer & Explanation Answer: A) most

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 13786