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
What is the use of putchar function?
Can we change the value of constant variable in c?
What is the purpose of realloc()?
How arrays can be passed to a user defined function
How do you define a string?
how logic is used
How many levels of indirection in pointers can you have in a single declaration?
how to create duplicate link list using C???
Explain the concept and use of type void.
What is define directive?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
Explain the difference between call by value and call by reference in c language?
Can a pointer be static?
What are structural members?