GATEverse
← GATE CSE 2023

Q25

NAT1 mark

The integer value printed by the ANSI-C\textsf{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; }

Sign in to save attempts.

Loading…