Consider the following C program:
#include <stdio.h>
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? GATE CSE || 2019 MCQ || 2-mark
41
63
52
630
This question is part of this quiz :
GATE|| C Programming & Data Structure || Pyqs (2010 to 2025 )