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 / sunil v r

5,2,1

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .obj file in c?

639


What is the use of pointers in C?

605


What is openmp in c?

602


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

760


What is identifiers in c with examples?

665






What is return type in c?

629


What are the features of c language?

611


What is c definition?

733


Is c easier than java?

558


Are the variables argc and argv are local to main?

778


Is there any possibility to create customized header file with c programming language?

613


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

587


What are types of functions?

553


Can you tell me how to check whether a linked list is circular?

753


What is dynamic memory allocation?

795