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
What is function definition in c?
What does char * * argv mean in c?
What are the different types of control structures in programming?
why we wont use '&' sing in aceesing the string using scanf
Why #include is used in c language?
Explain what is the difference between null and nul?
What is void c?
Why static variable is used in c?
Explain how can I remove the trailing spaces from a string?
write a program to rearrange the array such way that all even elements should come first and next come odd
What is 'bus error'?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
When is a “switch” statement preferable over an “if” statement?
If the size of int data type is two bytes, what is the range of signed int data type?
Why void main is used in c?