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

A radioactive substance has a half life of four months, three-fourth of the substance would decay in

A) 3 months B) 4 months
C) 8 months D) 12 months
 
Answer & Explanation Answer: C) 8 months

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

80 14167
Q:

Where is the Headquarter of ASEAN (Association of Southeast Asian Nations)?

A) Jakarta B) Beijing
C) Newyork D) Da Nang
 
Answer & Explanation Answer: A) Jakarta

Explanation:

The ASEAN Headquarters is located in Jakarta, Indonesia.

 

ASEAN is The Association of Southeast Asian Nations is a group of ten Southeast Asian countries. It was formed on 8th August 1967. The 10 countries in ASEAN are Indonesia, Malaysia, Philippines, Singapore, Brunei, Myanmar, Cambodia, Laos, Vietnam and Thailand.

 

Its main purpose include the acceleration of economic growth, social progress, cultural development among its members, the protection of the peace and stability of the region, and to provide opportunities for member countries to discuss differences peacefully.

Report Error

View Answer Report Error Discuss

Filed Under: World Organisations
Exam Prep: CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

26 14163
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 14161
Q:

Improve the bracketed part of the sentence.

 

Through the practice of repeated affirmations, we can make great progress on our chosen path and (increasing) our magnetism to succeed in anything.

A) increased B) have increased
C) increase D) No improvement
 
Answer & Explanation Answer: C) increase

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 14159
Q:

Select the synonym of

splinter

A) stub B) share
C) chip D) friction
 
Answer & Explanation Answer: C) chip

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT

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

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