closed by
749 views
1 votes
1 votes
closed as a duplicate of: made easy gate cs question bank
void find(int x){
    static int i=10,y=0;
    y=y+i;
    for(i;i>0;i=i-10){
        if(x!=0)
        find(x-1);
        else{
            printf("%d",y);
        }
    }
}

What will be output printed for find(4)?

closed by

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