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 c mean before a date?
Write a code of a general series where the next element is the sum of last k terms.
Explain is it better to bitshift a value than to multiply by 2?
What is dynamic variable in c?
What is c++ used for today?
What is the significance of scope resolution operator?
Difference between MAC vs. IP Addressing
Explain how do you view the path?
What header files do I need in order to define the standard library functions I use?
Explain the meaning of keyword 'extern' in a function declaration.
Explain what is the use of a semicolon (;) at the end of every program statement?
I have a varargs function which accepts a float parameter?
Explain what is the benefit of using #define to declare a constant?
What is double pointer in c?
What is build process in c?