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 |
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
How does free() know how many bytes to free?
Explain how do you generate random numbers in c?
what is the code for getting the output as * ** ***
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
how to execute with out main in cprogram
when to use : in c program?
1.Why do you call C is middle level language? 2.Why do you call C is userfriendly language.
What is the difference between i++ and i+1 ?(in terms of memory)
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
please give code for this 1 2 4 7 11 16