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 are # pragma staments?
How do I send escape sequences to control a terminal or other device?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What is string function in c?
When is the “void” keyword used in a function?
What is the use of structure padding in c?
What is adt in c programming?
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
What is wild pointer in c?
What is a function in c?
What is wrong in this statement?
Explain what header files do I need in order to define the standard library functions I use?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Where register variables are stored in c?
Which are low level languages?