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 should malloc() do?
while initialization of array why we use a[][2] why not a[2][]...?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What are the advantages and disadvantages of c language?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
will u please send me the placement papers to my mail???????????????????
What is use of bit field?
What is 1d array in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??
how to count no of words,characters,lines in a paragraph.
Is that possible to store 32768 in an int data type variable?
How can you be sure that a program follows the ANSI C standard?
How can you increase the allowable number of simultaneously open files?
What is the difference between the expression “++a” and “a++”?
What are the disadvantages of c language?