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?
Answer Posted / ravi saini
Recursion based question........
Output wil be
cCbBaA
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Where we use clrscr in c?
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
Explain what is the difference between null and nul?
What is #include stdio h and #include conio h?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
What do you mean by invalid pointer arithmetic?
difference between Low, Middle, High Level languages in c ?
Why is python slower than c?
What are formal parameters?
What is a file descriptor in c?
What is build process in c?
What are variables and it what way is it different from constants?
Which is the memory area not included in C program? give the reason
How can I automatically locate a programs configuration files in the same directory as the executable?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?