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 are the different types of objects used in c?
How many bytes are occupied by near, far and huge pointers (dos)?
What are the advantages of using new operator as compared to the function malloc ()?
What does sizeof return c?
What is a constant?
What is the difference between far and near ?
What does d mean?
Explain modulus operator. What are the restrictions of a modulus operator?
What is bubble sort technique in c?
Why isnt there a numbered, multi-level break statement to break out
What are the differences between new and malloc in C?
how to count no of words,characters,lines in a paragraph.
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is the purpose of the preprocessor directive error?
What is structure of c program?