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
How can you allocate arrays or structures bigger than 64K?
code for replace tabs with equivalent number of blanks
praagnovation
Can you mix old-style and new-style function syntax?
What is page thrashing?
What is new line escape sequence?
What is %d called in c?
What does volatile do?
What does sizeof return c?
how to count no of words,characters,lines in a paragraph.
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What is the difference between declaring a variable by constant keyword and #define ing that variable?
How can I find the modification date of a file?
What are the features of c languages?
What are the advantages and disadvantages of pointers?