0
What is the output of the following C program?
#include <stdio.h>
void count() {
static int c = 0;
int d = 0;
c++; d++;
printf("%d%d ", c, d);
}
int main() {
count(); count(); count();
return 0;
}- A11 21 31
- B11 11 11
- C11 22 33
- D11 12 13
Correct answer: A