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
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
What is output redirection?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What is #define size in c?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Where register variables are stored in c?
What is #pragma statements?
What are data types in c language?
What is the purpose of macro in C language?
What is the use of getch ()?
Write a program to check prime number in c programming?
What is a class c rental property?
what are bit fields in c?
What is c language & why it is used?
Can main () be called recursively?