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 / darpan

AB

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

591


Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

596


How to Throw some light on the splay trees?

617


What are the complete rules for header file searching?

666


What are global variables and explain how do you declare them?

569






number of times a digit is present in a number

1537


What does %c do in c?

580


What is an array in c?

591


Can a variable be both static and volatile in c?

604


If you know then define #pragma?

672


What is s in c?

607


string reverse using recursion

1805


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

642


What is the function of this pointer?

668


Explain can you assign a different address to an array tag?

642