What will be printed on the standard output as a result of the following
code snippet?
void func()
{
static int i = 1;
int j = 1;
i++;
j++;
printf("%d %d ",i,j);
}
void main()
{
func();
func();
func();
}
Correct Answer: 2 2 3 2 4 2
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C Programming MCQ Questions