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


Please Help Members By Posting Answers For Below Questions

What is the difference between Printf(..) and sprint(...) ?

777


What is structure in c explain with example?

623


What is the difference between %d and %i?

584


Under what circumstances does a name clash occur?

682


Whats s or c mean?

586






How do you declare a variable that will hold string values?

659


What is the use of gets and puts?

590


Can you apply link and association interchangeably?

661


What does & mean in scanf?

595


What is the correct code to have following output in c using nested for loop?

603


What is table lookup in c?

618


what will be the output for the following main() { printf("hi" "hello"); }

9297


What is the use of sizeof?

543


What is the difference between variable declaration and variable definition in c?

553


Write a program to find the biggest number of three numbers in c?

584