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
Write a program to show the change in position of a cursor using c
What is the significance of scope resolution operator?
Where can I get an ansi-compatible lint?
What is optimization in c?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
about c language
With the help of using classes, write a program to add two numbers.
Difference between Function to pointer and pointer to function
How can I change the size of the dynamically allocated array?
What is #include cctype?
How does pointer work in c?
If fflush wont work, what can I use to flush input?
Is there anything like an ifdef for typedefs?
What is typedef struct in c?
can we implement multi-threads in c.