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

Which of the following plants is not capable of manufacturing own food?

A) Algae B) Mushroom
C) Carrot D) Cabbage
 
Answer & Explanation Answer: B) Mushroom

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science

67 14149
Q:

Improve the bracketed part of the sentence.

 

A new chapter (may been put forth) that India gained Independence only in the last one year and not in 1947.

 

A) may have been putted forth B) may be put forth
C) may be left forth D) No improvement
 
Answer & Explanation Answer: B) may be put forth

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14148
Q:

Botany is also known as

A) Phytology B) Phycology
C) Pedology D) Plantophyta
 
Answer & Explanation Answer: A) Phytology

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

109 14147
Q:

Improve the bracketed part of the sentence.

Both the families were invited but neither (had accepted) our invitation.

A) accepted B) did accept
C) has accepted D) no improvement
 
Answer & Explanation Answer: A) accepted

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14142
Q:

Smallest cricket stadium in the world by boundary?

A) Carisbrook Stadium B) Feroz Shah Kotla
C) Melbourne Cricket Ground D) Sydney Cricket Stadium
 
Answer & Explanation Answer: B) Feroz Shah Kotla

Explanation:

Smallest_cricket_stadium_in_the_world_by_boundary1562043904.jpg image

The Feroz Shah Kotla Ground is a cricket ground built in 1883 in New Delhi is the second oldest international cricket stadium still functional in India, after the Eden Gardens in Kolkata. It also holds the record of the smallest cricket stadium in the world by boundary.

 

Report Error

View Answer Report Error Discuss

Filed Under: Famous Places
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

19 14140
Q:

The isotopes of chlorine with mass number 35 and 37 exist in the ratio of

A) 1:2 B) 2:3
C) 3:1 D) 3:4
 
Answer & Explanation Answer: C) 3:1

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

78 14138
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 14135