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
Evaluate !(1&&1||1&&0) a) Error b) False c) True
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
Can a constructor return a value?
To what does “event-driven” refer?
Do you know about C++ 11 standard?
How to allocate memory dynamically for a reference?
what is COPY CONSTRUCTOR and what is it used for?
What are protected members in c++?
What is insertion sorting?
Why is it necessary to use a reference in the argument to the copy constructor?
What are the advantages of early binding?
How do you flush std cout?
How many types of classes are there in c++?
Write a program in c++ to print the numbers from n to n2 except 5 and its multiples
What is the role of C++ shorthand's?