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
p*=(++q)++*--p when p=q=1 while(q<=6)
What does 3 periods mean in texting?
Define and explain about ! Operator?
What does d mean?
What is function prototype?
Why do we use namespace feature?
What is bubble sort in c?
Is boolean a datatype in c?
What are nested functions in c?
How do you define a string?
How many keywords (reserve words) are in c?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
string reverse using recursion
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer