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")
(i) `int i; int x, y, z=31;`: This line declares integer variables `i`, `x`, `y`, and `z`. Variable `z` is initialized with the value _____ _________ __________ _________ _____ _____ _____ ___ ___ _______ ______.
__________ __________ _____ ___ __________ _________ _____ _______.
__________ ____ ___ _________ __________.
___ ____ ______ ______ ____ ______ ______ ______ ________.
_______ _________ __________ ______ _____ ________ _________ ___.
____ ___ _________ __________ ________ _______ ____ _______ _______.
_______ _____ ________ ________ _____ ____ _______ ___ _________.
_____ ___ __________ __________ ____ ________ _______ _______ ______.
_____ _____ _____ _______ _______ _______ __________.
______ ______ ___ _____ ___ ____.
_____ _________ ______ ______ _________ ____.
__________ ____ ______ ________ _______ __________ ______ ________ ________ ___ ____ _______.
_____ _____ _________ ___ _________ _______ _____ _____ ______ _________ _______ _____.
__________ ________ __________ ___ _______ ____ _____ __________ _____ _________.
___.
Get Full Answer on WhatsApp