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 / divya
0
Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
What is a stream?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What is assert and when would I use it?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What are the data types present in c?
What is an arrays?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
Why is main function so important?
Where register variables are stored in c?
What is the difference between fread and fwrite function?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
Why void is used in c?
What is difference between Structure and Unions?
What is the use of typedef in c?
What is ctrl c called?