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
Why enum is used in c?
Explain the process of converting a Tree into a Binary Tree.
Explain what is the stack?
Explain a pre-processor and its advantages.
What is 1f in c?
Differentiate between null and void pointers.
Explain can you assign a different address to an array tag?
What is meant by initialization and how we initialize a variable?
What is mean by data types in c?
pierrot's divisor program using c or c++ code
Which is more efficient, a switch statement or an if else chain?
What are types of functions?
How can I sort more data than will fit in memory?
What is boolean in c?
What is the difference between struct and union in C?