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

Guest & Raj is correct.......
Please don't post the wrong answer if u r not clear about this

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is time null in c?

570


What are the key features in c programming language?

597


How can I manipulate strings of multibyte characters?

627


How do you initialize pointer variables?

596


What is a string?

656






Implement bit Array in C.

664


Can the size of an array be declared at runtime?

593


What are operators in c?

571


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

715


What are the different types of pointers used in c language?

604


What math functions are available for integers? For floating point?

614


What are the advantages of using Unions?

637


What is a ternary operator in c?

640


What is the acronym for ansi?

618


Why isn't any of this standardized in c? Any real program has to do some of these things.

615