Added an example for volatile keyword