int n=1;
while(1)
{
switch(n)
{
case 1:printf("a");
n++;
continue;
case 2:printf("b");
n++;
continue;
default : printf("c");
break;
}
break;
}



int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf(&..

Answer / arun

abc

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More C Interview Questions

what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }

3 Answers  


how to connect oracle in C/C++.

3 Answers   TCS, Wipro,


Explain low-order bytes.

0 Answers  


what will be the output of this program? #include<stdio.h> #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }

6 Answers   IBM,


the data type used for unlimited value in c and how to do this program

1 Answers  






How pointer is benefit for design a data structure algorithm?

2 Answers  


What oops means?

0 Answers  


What are loops in c?

0 Answers  


What is getche() function?

0 Answers  


what are the difference between ANSI C and Let Us c and Turbo C

4 Answers   LG Soft,


What is wrong with this statement? Myname = 'robin';

0 Answers  


What is variables in c?

0 Answers  


Categories