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
while initialization of array why we use a[][2] why not a[2][]...?
Explain the difference between call by value and call by reference in c language?
What are data types in c language?
What are file streams?
How do you initialize pointer variables?
What is a wrapper function in c?
What is void main ()?
What are the string functions? List some string functions available in c.
What does c in a circle mean?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
Why does not c have an exponentiation operator?
How can I swap two values without using a temporary?
Explain low-order bytes.
How we can insert comments in a c program?
What is bubble sort in c?