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
Suggesting that there can be 62 seconds in a minute?
What is scope rule of function in c?
What is the role of this pointer?
What is table lookup in c?
Is it possible to initialize a variable at the time it was declared?
Write a factorial program using C.
How can I delete a file?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
Which is the best website to learn c programming?
What is a constant and types of constants in c?
Why is this loop always executing once?
Why we use break in c?
what are the advantages of a macro over a function?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream