main()
{
char as[] = "\\0\0";
int i = 0;
do{
switch( as[i++]) {case '\\' : printf("A");
break;
case 0 : printf("B");
break;
default : printf("C");
break;
}}
while(i<3);
}
Answer Posted / srikanth
ACB
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
What is the explanation for the dangling pointer in c?
What is the difference between volatile and const volatile?
What are the features of the c language?
what is ur strangth & weekness
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What are dangling pointers? How are dangling pointers different from memory leaks?
Explain what are the __date__ and __time__ preprocessor commands?
What is the explanation for cyclic nature of data types in c?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Is null valid for pointers to functions?
Write a C program to count the number of email on text
What is a pointer and how it is initialized?
what is the basis for selection of arrays or pointers as data structure in a program
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
Explain setjmp()?