... continued

Continues the discussion on the volatile concept.

We'll cover the following

Before we end the discussion on volatile, let's discuss some more examples often quoted to demonstrate the difficulty of correctly reasoning and applying the volatile keyword.

Consider the following example:

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