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 different between auto and local static? why should we use local static?
What are the different properties of variable number of arguments?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is the description for syntax errors?
Compare interpreters and compilers.
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
the question is that what you have been doing all these periods (one year gap)
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What is %g in c?
What is %d called in c?
What is the purpose of 'register' keyword in c language?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is an lvalue?
How can I direct output to the printer?
What is the argument of a function in c?