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

Answer Posted / arun

abc

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there a built-in function in C that can be used for sorting data?

749


What will the preprocessor do for a program?

595


Write a program to show the change in position of a cursor using c

585


What functions are used for dynamic memory allocation in c language?

604


What is string in c language?

630






What is the heap in c?

647


Why is c platform dependent?

626


Is c is a procedural language?

601


What are c identifiers?

631


What are linked lists in c?

651


Explain what are the standard predefined macros?

655


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

1533


What are the two forms of #include directive?

646


c language interview questions & answer

1465


Why c is called a middle level language?

636