Questions

Q:

Output of the Program :

main()

{

int i = 1;

while (i <= 5)

    {

         printf( "%d", i );

         if (i > 2) goto here;

         i++;

     }

}

fun()

{

here : printf( "PP" );

}

A) 1 B) 2
C) Compilation error D) Exception occurs
 
Answer & Explanation Answer: C) Compilation error

Explanation:

Compiler error: Undefined label 'here' in function main

Report Error

View Answer Report Error Discuss

Filed Under: Programming

3 21119
Q:

What will be output when you will execute following c code?

#include <stdio.h>
void main()

{
     switch(2)

      {
            case 1L:printf("No");
            case 2L:printf("%s","I");
              goto Love;
            case 3L:printf("Please");
            case 4L:Love:printf("Hi");
     }
}

A) I B) IPleaseHi
C) IHi D) Compilation error
 
Answer & Explanation Answer: C) IHi

Explanation:

It is possible to write label of goto statement in the case of switch case statement.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

3 21098
Q:

Which of the following lake lies on the Equator in Africa continent?

 

 

A) Tanganyika B) Victoria
C) Nyasa lake D) Lake Kariba
 
Answer & Explanation Answer: B) Victoria

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: Bank Exams

2 21087
Q:

 A mixture of sand and naphthalene can be separated by

A) Fractional distillation B) Sublimation
C) Chromatography D) Any of them
 
Answer & Explanation Answer: B) Sublimation

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

87 21015
Q:

Myanmar is the ___________ largest country in Southeast Asia.

 

A) second B) third
C) fourth   D) fifth
 
Answer & Explanation Answer: A) second

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

0 21012
Q:

Hardest Part of the Human Body?

A) Tooth Enamel B) Femur
C) Temporal bone of skull D) Knee bone
 
Answer & Explanation Answer: A) Tooth Enamel

Explanation:

Tooth Enamel is the hardest and most highly mineralized substance in the human body. It is a tissue and not a bone. This tissue has high mineral content which makes it hardest substance.

 

Femur and Temporal bone of the skull are the hardest bones of the human body.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: CAT , Bank Exams , AIEEE
Job Role: Bank PO

96 20997
Q:

The concept of Judicial Review in ourrr constitution has been taken from the Constitution of

A) England B) USA
C) Canada D) Australia
 
Answer & Explanation Answer: B) USA

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

39 20984
Q:

The highest average salinity amongst the following seas is reported from

A) Dead Sea B) Red Sea
C) Black Sea D) Migration Sea
 
Answer & Explanation Answer: A) Dead Sea

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

50 20958