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 / raj
0 1 2 5 10...Please don't post the wrong answer.
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
Explain union. What are its advantages?
Explain what is the difference between far and near ?
When should we use pointers in a c program?
Explain the ternary tree?
What is a file descriptor in c?
What is the scope of local variable in c?
What are linked lists in c?
What is an lvalue?
program to convert a integer to string in c language'
Differentiate between a for loop and a while loop? What are it uses?
How do I determine whether a character is numeric, alphabetic, and so on?
what is the difference between class and unio?
What are identifiers in c?
Differentiate between new and malloc(), delete and free() ?