Answer Posted / mustafa
Volatile restricts the compiler in two ways
1-> No optimization algorithm should be applied to this
variable.
2-> When ever you need the value of the volatile variable
please take it from the memory.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is prototype in c++ with example?
What are separators in c++?
What is the use of setprecision in c++?
Which programming language should I learn first?
How do I make turbo c++ full screen?
Define the operators that can be used with a pointer.
What does obj stand for?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
How do I write a c++ program?
Can I create my own functions in c++?
What is the difference between public and private data members?
Can create new c++ operators?
Write some differences between an external iterator and an internal iterator?
How can a called function determine the number of arguments that have been passed to it?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?