Question PRG-C-0053
MediumWhat is the output of this program?
#include <stdio.h>
int main() {
static int calls;
for (int i = 0; i < 3; i++)
calls++;
printf("%d", calls);
return 0;
}
- A.
1
- B.
0
- C.
Sign up free to see the answer and a step-by-step explanation.