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 / guest
0 1 2 5 10
Is This Answer Correct ? | 23 Yes | 3 No |
Post New Answer View All Answers
using only #include
Write a code on reverse string and its complexity.
Is fortran faster than c?
can we implement multi-threads in c.
What are structure members?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
What is sizeof array?
Tell me what is the purpose of 'register' keyword in c language?
What does a pointer variable always consist of?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
how to construct a simulator keeping the logical boolean gates in c
What is a list in c?
Which one would you prefer - a macro or a function?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is boolean in c?