The following program fragment
int x = 4, y = x, i;
for (i = 1; i < 4; ++i)
x += x;
outputs an integer that is same as
A. | 8 * y |
B. | y * (1 + 2+ 3 + 4) |
C. | y * 4 |
D. | Y * Y |
Answer : A Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |