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

What is the difference between scanf and fscanf?

669


What are the storage classes in C?

629


What is string constants?

664


Do array subscripts always start with zero?

788


how many key words availabel in c a) 28 b) 31 c) 32

635






#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1547


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

1646


What is a floating point in c?

607


What are the functions to open and close file in c language?

733


How do you convert strings to numbers in C?

713


What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file

672


Which of these functions is safer to use : fgets(), gets()? Why?

637


What is volatile, register definition in C

693


What is identifiers in c with examples?

680


What are pragmas and what are they good for?

580