If "AaBbCc" is passed to the char
char x(*a)
{
a[0]?x(a+1):1;
printf("%c",a[0]);
return 1;
}
what will be the output?
Answers were Sorted based on User's Feedback
Answer / ravi saini
Recursion based question........
Output wil be
cCbBaA
| Is This Answer Correct ? | 3 Yes | 0 No |
What is the meaning of typedef struct in c?
Explain what is the best way to comment out a section of code that contains comments?
How can you determine the maximum value that a numeric variable can hold?
Explain threaded binary trees?
Explain is it valid to address one element beyond the end of an array?
Result of the following program is main() { int i=0; for(i=0;i<20;i++) { switch(i) case 0:i+=5; case 1:i+=2; case 5:i+=5; default i+=4; break;} printf("%d,",i); } } a)0,5,9,13,17 b)5,9,13,17 c)12,17,22 d)16,21 e)syntax error
What is dynamic dispatch in c++?
how to print value of e(exp1)up to required no of digits after decimal?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
wap to print "hello world" without using the main function.
print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5
Which of the following data structures is on average the fastest for retrieving data: 1) Binary Tree 2) Hash Table 3) Stack