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 / vinay
10,5,2,1
after that it terminated.
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What is string in c language?
How does pointer work in c?
Explain how can you avoid including a header more than once?
Explain how can I convert a string to a number?
What are the advantage of c language?
What is the advantage of using #define to declare a constant?
What do you mean by c what are the main characteristics of c language?
What is a shell structure examples?
Hi can anyone tell what is a start up code?
What does void main () mean?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
Explain what is the difference between functions getch() and getche()?
Explain what is a program flowchart and explain how does it help in writing a program?
What is the right type to use for boolean values in c? Is there a standard type?
Can we use any name in place of argv and argc as command line arguments?