Question: throughout the execution of a program is called a 2.12 What, if anything, prints when each of the following statements is performed? If nothing prints,

throughout the execution of a program is called a 2.12 What, if anything, prints when each of the following statements is performed? If nothing prints, then answer Nothing." Assume x = 2 and y = 3. a) printf("%d", x); b) printf("%d", x + x ); c) printf( "X=" ); d) printf("X=%d", x); e) printf("%d %d", x + y, y + x); f) z = x + y; g) scanf("%d%d", &x, &y); h) // printf("x + y i) printf(" "); %d", X + y )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
