Introduction

As discussed earlier the JMM allows for reordering of statements in the program order as long as the outcome of the program isn’t altered. Consider the program below and try to come up with all the possible outcomes the program can have:

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.