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) A mouse is an elephant built by the Japanese
B) b) Breeding rabbits is a hare raising experience
C) c) A mouse is an elephant built by the Japanese Breeding rabbits is a hare raising experience
D) d) None of the above
-
Interview Candidate
- Dec 10th, 2005
- 6
- 3496
Showing Answers 1 - 6 of 6 Answers
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)
b) Breeding rabbits is a hare raising experience
C) c) A mouse is an elephant built by the Japanese Breeding rabbits is a hare raising experience
D) d) None of the above