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 / amit
All are incorrect. Please try it on a machine and see...
The answer is 012510. Please not that it is 0 1 2 5 10 but
without spaces.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between fread buffer() and fwrite buffer()?
Is main is a keyword in c?
Explain modulus operator. What are the restrictions of a modulus operator?
Is c is a low level language?
What is c definition?
What is array of structure in c programming?
Write a program to check prime number in c programming?
What is pre-emptive data structure and explain it with example?
Where static variables are stored in memory in c?
How do I get a null pointer in my programs?
Why & is used in scanf in c?
What is a structure and why it is used?
What does double pointer mean in c?
What is const keyword in c?
Discuss the function of conditional operator, size of operator and comma operator with examples.