edited by
591 views
0 votes
0 votes

edited by

1 Answer

0 votes
0 votes

Answer - D) hihi

 

Despite the recursion call of  main() , variable with Keyword "static" will only initialize once in entire lifetime of the program.

so, recursion executes print statement exactly two times.

Read more about static

Related questions

1 votes
1 votes
0 answers
1
0 votes
0 votes
1 answer
2
Hemant Parihar asked Feb 3, 2017
519 views
#include<stdio.h>int main() { char *p; p = "%d\n"; p++; p++; printf(p-2, 400); return 0;}Output : 400I ran this program and got 400 as output. But I don...
2 votes
2 votes
2 answers
4