When should the volatile modifier be used? Ans. The volatile modifier is a directive to the compiler's optimizer that operations involving this variable should not be optimized in certain ways. There are two special cases in which use of the volatile modifier is desirable. The f...
See more
Download the Study24x7 App, so you can connect and collaborate.