What is optimization in c++?
when using volatile.optimization is not possible..what does
this mean?



What is optimization in c++? when using volatile.optimization is not possible..what does this mean..

Answer / sindhu

In C, the keyword Volatile tells the compiler that the value
of that variable may change unexpectedly(not using the code
that is found nearby).So the optimizer must do nothing to
the variable to make the code efficient.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

given the code segment below void main() { cout<<"my no. is"; } question is how can we get the output hai aravind my no. is 99999999999 without editig the main().

2 Answers  


Explain the difference between struct and class in terms of access modifier.

0 Answers  


Where the memory to the static variables is allocated?

0 Answers  


Can you explain the term "resource acquisition is initialization?"

1 Answers   Amazon,


What is friend class in c++ with example?

0 Answers  






Define pointers?

0 Answers  


What do you mean by translation unit?

0 Answers  


Is c++ an integer?

0 Answers  


What is auto used for in c++?

0 Answers  


Is java a c++?

0 Answers  


Where can I run c++ program?

0 Answers  


Is c++ faster than c?

0 Answers  


Categories