Question: What is the output of the following program? #include void auto_computer (){ int Var = 1; 1; static int staticvar = printf(automatic = %i,
What is the output of the following program? #include void auto_computer (){ int Var = 1; 1; static int staticvar = printf("automatic = %i, static Var = Var + 2; staticVar = staticVar + Var; } int main(){ } int i; for (i = 0; i < 5; i++) auto_computer();| return 0; = %i ", Var, staticVar);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
