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

Explain how can you avoid including a header more than once?

607


Explain what will the preprocessor do for a program?

607


What is array of structure in c programming?

759


How is = symbol different from == symbol in c programming?

618


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

761






Explain the use of bit fieild.

719


How can I remove the trailing spaces from a string?

620


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

611


What do mean by network ?

661


What is %g in c?

629


What is c method?

539


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

1773


Explain what is the difference between the expression '++a' and 'a++'?

631


What is main function in c?

553


What are the various types of control structures in programming?

634