Question: 12. Given the code $$ begin{array}{1} text { int } x, y, z z=2^{x}(++x (y+=3)) end{array} $$ Which one of the following statements is True?

12. Given the code $$ \begin{array}{1} \text { int } x, y, z z=2^{x}(++x (y+=3)) \end{array} $$ Which one of the following statements is True? (3 Points) If, initially, $x==3, y=:-1, z==1$, then following the evaluation of the code it holds that $x=\pm 4, y=z-1$, $z=a 8$ If, initially, $x==3 y==-3, z==1$, then following the evaluation of the code it holds that $x==4 \quad y=0 \quad z==2$ If initially $x==-1, y=0, z==1$, then following the evaluation of the code it holds that $x==0, y=3, z==2$ If, initially $x==-1, y=2-3, z==1$, then following the evaluation of the code it holds that $x==0, y=0$ $z==7$ CS.VS.993|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
