NAT · 1 mark · C Programming

GATE CS 2023 CS — Q35

The integer value printed by the ANSI-C program given below is ____________.
#include<stdio.h>
int funcp(){
static int x = 1;
x++;
return x;
}
int main(){
int x,y;
x = funcp();
y = funcp()+x;
printf("%d\n", (x+y));
return 0;
}