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 class in c++ with example?
How would perform Pattern Matching in C++?
What language is a dll written in?
How many standards of c++ are there?
what is pre-processor in C++?
What is size_type?
What problems might the following macro bring to the application?
Is c++ double?
What are separators in c++?
Write bites in Turbo c++ Header ("Include") Files.
Difference between overloaded functions and overridden functions
Give example of a pure virtual function in c++?
What is a binary file? List the merits and demerits of the binary file usagein C++.
What is a forward referencing and when should it be used?
Is java based off c++?