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 the difference between new and malloc functions?
How to define structures? ·
What is the use of ?
How do you define structure?
Explain goto?
What are the types of i/o functions?
What does c value mean?
Explain how can type-insensitive macros be created?
Explain about the constants which help in debugging?
What are the 4 types of functions?
Explain what is wrong with this statement? Myname = ?robin?;
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
Do variables need to be initialized?
What are unions in c?