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
What is sizeof int in c?
How is = symbol different from == symbol in c programming?
Can we declare a function inside a function in c?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What is the difference between a string and an array?
Is calloc better than malloc?
What is signed and unsigned?
What are volatile variables in c?
What is property type c?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
what is the syallabus of computer science students in group- 1?
What are the features of c language?
What is data types?
What is context in c?
What happens if you free a pointer twice?