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
about c language
What is the data segment that is followed by c?
What is pointer to pointer in c with example?
Why does the call char scanf work?
What is the difference between a function and a method in c?
How can I call a function with an argument list built up at run time?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Can we declare variables anywhere in c?
Explain the use of 'auto' keyword in c programming?
what are the advantages of a macro over a function?
Write a c program to demonstrate character and string constants?
How many identifiers are there in c?
How can I use a preprocessorif expression to ?
What is the purpose of sprintf?
Can variables be declared anywhere in c?