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
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
When was c language developed?
Explain what is the benefit of using const for declaring constants?
When is a “switch” statement preferable over an “if” statement?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Is null a keyword in c?
Write a program to swap two numbers without using the third variable?
What is structure pointer in c?
What are file streams?
Write a program to implement queue.
what do you mean by inline function in C?
What is non linear data structure in c?
What do the functions atoi(), itoa() and gcvt() do?