Question: After executing the following code fragment, what value does the variable y contain? int x=3, y = 5; if (x > 1) y = 7;
After executing the following code fragment, what value does the variable y contain? int x=3, y = 5; if (x > 1) y = 7;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
