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 / dishank
darpan can u plz explain me how does the answer AB comes...
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is a lvalue
How can you draw circles in C?
What is c system32 taskhostw exe?
Write a factorial program using C.
How can I delete a file?
What is pass by reference in c?
Does c have enums?
Write a program to print all permutations of a given string.
Explain what is the stack?
What does the message "automatic aggregate intialization is an ansi feature" mean?
Explain the advantages of using macro in c language?
Explain which function in c can be used to append a string to another string?
I have seen function declarations that look like this
What is the scope of static variables in c language?
Explain what are multibyte characters?