Q. What is the output of the program.?
Code:void myshow();
int main()
{
myshow();
myshow();
myshow();
}
void myshow()
{
static int k = 20;
printf("%d ", k);
k++;
}
β
Correct Answer: (C)
20 21 22