<=Back
Write the output that will be produced when each of the following C program codes are executed. (4 marks)
(a) int i, j;
i=7;
j=++i +5;
printf(“The value of i is %d and j is %d”,i,j);
(b) int x, y;
x=7;
y=--x +5;
printf(“The value of x is %d and y is %d”,x,y);
 Viewed: 461 times
Share in: