0

Why this code of c has stop up-to 7 and how?

#include<stdio.h> void k(){ int a; static int s=3; a=++s; printf("\n%d%d",a, s) ; if(a<=5) k(); printf("\n%d%d",a, s) ; } void main(){ k(); k(); } output :44 55 66 66 56 46 77 77

20th Dec 2017, 8:08 AM
Vaibhav Solanki
2 Respuestas
0
what does abc() function do?
20th Dec 2017, 8:50 AM
Daniel
Daniel - avatar
- 1
that's difficult to answer without seeing the rest of the code...
20th Dec 2017, 9:02 AM
ifl
ifl - avatar