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
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
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?
How to Throw some light on the splay trees?
What are the complete rules for header file searching?
What are global variables and explain how do you declare them?
number of times a digit is present in a number
What does %c do in c?
What is an array in c?
Can a variable be both static and volatile in c?
If you know then define #pragma?
What is s in c?
string reverse using recursion
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);
What is the function of this pointer?
Explain can you assign a different address to an array tag?