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 / sri

0

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should the const modifier be used?

747


Explain the advantages and disadvantages of macros.

717


Is javascript based on c?

687


What does sizeof function do?

724


Explain the difference between the local variable and global variable in c?

703






Explain argument and its types.

700


What is a struct c#?

678


What are pointers? Why are they used?

714


What is a class c rental property?

735


What is the scope of local variable in c?

671


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5188


Tell me when is a void pointer used?

752


Is a pointer a kind of array?

678


How to write a multi-statement macro?

711


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

1641