closed by
825 views
1 votes
1 votes
closed as a duplicate of: geeksforgeeks
int main()
{
    static int i=5;
    if(--i){
        main();
        printf("%d ",i);
    }
}
 

 

 

This program answer is  0 0 0 0 .how is this? Please explain to me.
closed by

Related questions

567
views
0 answers
0 votes
Gatetarget_100 asked Aug 3, 2018
567 views
int main() { int a[10]; printf("%d",*a+1-*a+3); return 0; }Answer is given as 4 but i think it should be 8, if int is of 4 byte. Correct me if i am wrong
1.8k
views
0 answers
1 votes
Ashish Roy 1 asked Mar 16, 2019
1,758 views
In the above 4 Statements which would print 123 as output ? Explain also.
233
views
0 answers
1 votes
Balaji Jegan asked Oct 23, 2018
233 views
204
views
0 answers
0 votes
Harikesh Kumar asked Dec 4, 2017
204 views