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 |
Define macros.
Explain what are preprocessor directives?
What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }
What is a stream?
what is the disadvantage of using macros?
How can I run c program?
What are the data types present in c?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
how to find greatet of 10 numbers without using array?
Are global variables static in c?
What do you mean by keywords in c?
what is the flow of execution in cprogram? ex:printf();,scanf();