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
What is ponter?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Is there any possibility to create customized header file with c programming language?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
Do you know the use of fflush() function?
Write a program to know whether the input number is an armstrong number.
What is the explanation for prototype function in c?
Explain output of printf("Hello World"-'A'+'B'); ?
if p is a string contained in a string?
What are loops c?
Do you know the difference between malloc() and calloc() function?
Explain what’s a signal? Explain what do I use signals for?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
Is there a built-in function in C that can be used for sorting data?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file