Computer Science, asked by Ashharul, 7 months ago

Explain the meaning and output of each line of the following in the context of programming:
(i) int i;
int x, y, z=31;
(ii) x = y/2;
(iii) z=x*2;
(iv) if (z==y)
(v) printf("y contains an EVEN number");
(vi)else printf("y contains an ODD number");

Answers

Answered by singh75vk
2

Answer: (i) garbage value;

              (ii) garbage value;

             (iii) garbage value;

             (iv) z=31,y=31;

             (vi) y contains a odd number

Explanation: (i) value of i does not know.

(ii)  value of  y  does not know.

(iii) value of x does not know.

Similar questions