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 / guest
0 1 2 5 10
Is This Answer Correct ? | 23 Yes | 3 No |
Post New Answer View All Answers
What is the benefit of using #define to declare a constant?
Explain what are preprocessor directives?
Explain what is the purpose of "extern" keyword in a function declaration?
How can you find out how much memory is available?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
Are global variables static in c?
Explain what are multibyte characters?
Is it acceptable to declare/define a variable in a c header?
What is the use of ?: Operator?
Write a program to swap two numbers without using the third variable?
Why header file is used in c?
What is the purpose of macro in C language?
What are identifiers c?
What does 3 periods mean in texting?
Describe explain how arrays can be passed to a user defined function