fun(int x)
{
if(x > 0)
fun(x/2);
printf("%d", x);
}
above function is called as:
fun(10);
what will it print?
}
Answer Posted / code
Guest & Raj is correct.......
Please don't post the wrong answer if u r not clear about this
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What does it mean when a pointer is used in an if statement?
How can I get back to the interactive keyboard if stdin is redirected?
What is realloc in c?
What is wrong with this program statement? void = 10;
Which is better oop or procedural?
What is the deal on sprintf_s return value?
difference between native and cross compilers
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
Can static variables be declared in a header file?
What would be an example of a structure analogous to structure c?
What are the different types of objects used in c?
Explain function?
What are the restrictions of a modulus operator?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
Can we declare variable anywhere in c?