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 are types of preprocessor in c?
What is the collection of communication lines and routers called?
What is the heap in c?
What is a node in c?
What is the purpose of main( ) in c language?
what will be maximum number of comparisons when number of elements are given?
What is formal argument?
What are the disadvantages of external storage class?
Do string constants represent numerical values?
Explain what is the most efficient way to store flag values?
What is the purpose of void in c?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
How can you draw circles in C?
What is a structural principle?
int i=10; printf("%d %d %d", i, i=20, i);