What will i and j equal after the code below is executed? Explain your answer. int i = 5; int j = i++; | SoloLearn: Learn to code for FREE!

0

What will i and j equal after the code below is executed? Explain your answer. int i = 5; int j = i++;

12/15/2017 9:37:22 AM

nirav malaviya

1 Answer

New Answer

+1

After the above code executes, i will equal 6, but j will equal 5.