What would be the output of the following program? main() { int i=4; switch(i) { default: printf("n A mouse is an elephant built by the Japanese"); case 1: printf(" Breeding rabbits is a hair raising experience"); break; case 2: printf("n Friction is a drag"); break; case 3: printf("n If practice make perfect, then nobody's perfect"); } } a) A mouse is an elephant built by the Japanese b) Breeding rabbits is a hare raising experience c) All of the above d) None of the above

This question is related to Sonata Interview

Showing Answers 1 - 2 of 2 Answers

suman kotha

  • Sep 16th, 2005
 

A mouse is an elephant built by the Japanese Breeding rabbits is a hair raising experience

  Was this answer useful?  Yes

yolando

  • Jun 24th, 2006
 

Default handeling will take place.

The output will be : n A mouse is an elephant built by the Japanese Breeding rabbits is a hair raising experience

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions