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 / vint
char x(char *a) // Argument Pointer declaration was missing
{
a[0]?x(a+1):1;
printf("%c",a[0]);
return 1;
}
Output: cCbBaA
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between Printf(..) and sprint(...) ?
What is structure in c explain with example?
What is the difference between %d and %i?
Under what circumstances does a name clash occur?
Whats s or c mean?
How do you declare a variable that will hold string values?
What is the use of gets and puts?
Can you apply link and association interchangeably?
What does & mean in scanf?
What is the correct code to have following output in c using nested for loop?
What is table lookup in c?
what will be the output for the following main() { printf("hi" "hello"); }
What is the use of sizeof?
What is the difference between variable declaration and variable definition in c?
Write a program to find the biggest number of three numbers in c?