A
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++;
}
int main()
{
myshow();
myshow();
myshow();
}
void myshow()
{
static int k = 20;
printf("%d ", k);
k++;
}
- Correct Answer - Option(C)
- Views: 29
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.