I hate it when teachers teach undefined behavior.

The value of
j will depend on the compiler you are using because the language does not define the behavior of
i.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Offline 21,963 posts
since Aug 2005