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
Explain how can you avoid including a header more than once?
Explain what will the preprocessor do for a program?
What is array of structure in c programming?
How is = symbol different from == symbol in c programming?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Explain the use of bit fieild.
How can I remove the trailing spaces from a string?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
What do mean by network ?
What is %g in c?
What is c method?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Explain what is the difference between the expression '++a' and 'a++'?
What is main function in c?
What are the various types of control structures in programming?