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?
Answers were Sorted based on User's Feedback
Answer / ravi saini
Recursion based question........
Output wil be
cCbBaA
| Is This Answer Correct ? | 3 Yes | 0 No |
number 2 plssssss help !!....using array.. turbo c.. create a program that will accept a number and determine if it is a happy number or an unhappy number.. example: enter a number : 7 7*7=49 then 4 and 9 4*4 and 9*9== 16 + 18 gives you 97 then 9 and 7 9*9 and 7*7 == 81 + 49 gives you 130 then 1 and 3 1*1 and 3*3 == 1 + 9 gives you 10 1*1 gives you 1 sample output: 7= 49= 16+81= 97= 81+49=130 =1+9=10 =1 "7 is a happy number" . if the last number is 2 then the number being inputed is not a happy number.
Are local variables initialized to zero by default in c?
what is the difference between static variable and register variable?
IS it possible to define a zero sized array in c.if it is possible how can the elements of that array can be accessed.array index starts from zero,if it is possible to define zero sized array how can be its first element can be accesseed.
If we give two names then this displays the connection between the two people. It is nothing but flames game
Explain what is the benefit of using an enum rather than a #define constant?
Differentiate between full, complete & perfect binary trees.
What are the different categories of functions in c?
regarding pointers concept
What is the purpose of main( ) in c language?
Why is structure important for a child?
What is a rvalue?