fun(int x)
{
if(x > 0)
fun(x/2);
printf("%d", x);
}
above function is called as:
fun(10);
what will it print?
}
Post New Answer View All Answers
What is the difference between scanf and fscanf?
What are the storage classes in C?
What is string constants?
Do array subscripts always start with zero?
how many key words availabel in c a) 28 b) 31 c) 32
#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??
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
What is a floating point in c?
What are the functions to open and close file in c language?
How do you convert strings to numbers in C?
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
Which of these functions is safer to use : fgets(), gets()? Why?
What is volatile, register definition in C
What is identifiers in c with examples?
What are pragmas and what are they good for?