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

Is c++ based on c?

0 Answers  


Write a C Program to display the following menu: Menu 1. Display 2. Copy 3. Append 4. Exit Accept the choice (1-4) from the user, and perform the following tasks: Choice 1: Accept a file name from the user and display the file on screen Choice 2: Accept two file names, and copy first file to the second Choice 3: Accept two file names, and append second file to the first file Choice 4: Terminate the program

1 Answers   Accenture, Concor, DMU, Satyam, Syntel, Tora,


which operator having highest precedence? a.)+ b.)++ c.)= d.)%

4 Answers  


What is static memory allocation? Explain

0 Answers  


Why is structure important for a child?

0 Answers  






In which area global, external variables are stored?

3 Answers  


We can draw a box in cprogram by using only one printf();& without using graphic.h header file?

4 Answers   NIIT,


SRUCTURE PROGRAMMING

3 Answers   CTS, Wipro,


Is a house a mass structure?

0 Answers  


write a progam to compare the string using switch case?

1 Answers  


what is the similarities between. system call and library function?

1 Answers   Wipro,


write a c code "if you give a any decimal number then print that number in english alphabet"? ex: i/p: 552 o/p: five hundred fifty two ...

1 Answers   Philips,


Categories