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

array contains zeros and ones as elements.we need to bring zeros one side and one other side in single parse. ex:a[]={0,0,1,0,1,1,0,0} o/p={0,0,0,0,0,1,1,1}

12 Answers   Google, Motorola,


write a reverse string to print a stars.(with out using logic) ***** **** *** ** *

2 Answers  


Hai why 'c' is the middle language

4 Answers  


How can you find out how much memory is available?

0 Answers  


What are the types of pointers?

0 Answers  






program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

0 Answers  


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

0 Answers   RBI,


What are formal parameters?

0 Answers  


what is meant by flushll() in c programming?

1 Answers  


What are the types of data structures in c?

0 Answers  


What is spaghetti programming?

0 Answers  


#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }

14 Answers   CDAC, GATE, NDS, TCS,


Categories