GATE Computer Science (CS) 2019 Solved Papers

© examsiri.com
Question : 37 of 65
 
Marks: +1, -0
Consider the following C program:
#include
int r(){
static int num=7;
return num--;
}
int main(){
for (r();r();r())
printf(“%d”,r());
return 0;
}

Which one of the following values will be displayed on execution of the programs?
Go to Question: