1.

What will be the output of the program

#include<stdio.h>
void fun(int); int main(int argc)
{ printf("%d ", argc); fun(argc); return 0;
}
void fun(int i)
{ if(i!=4) main(++i);
}

A. 1 2 3
B. 1 2 3 4
C. 2 3 4
D. 1
Answer» C. 2 3 4


Discussion

No Comment Found