1.

What will be the output of the following C function?
#include <stdio.h>
int main()
{
Function(1);
}
void Function(int k)
{
if (k > 5)
exit(0);
printf("%d n", k);
return Function(k++);
}

A. 5 4 3 2 1
B. 1 2 3 4 5
C. 4 3 2 1
D. Compilation Error
E. Stack overflow
Answer» F.


Discussion

No Comment Found

Related MCQs