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

Describe new operator?

1 Answers  


What is the difference between new() and malloc()?

5 Answers  


What do you mean by Stack unwinding?

1 Answers  


What is a hash function c++?

1 Answers  


What is the full form of stl in c++?

1 Answers  


Write a function to find the nth item from the end of a linked list in a single pass.

1 Answers   Huawei,


Can we inherit constructor in c++?

1 Answers  


What type of question are asked in GE code writing test based on c++ data structures and pointers?

1 Answers  


Write bites in Turbo c++ Header ("Include") Files.

1 Answers  


What flag means?

1 Answers  


Is there anything you can do in C++ that you cannot do in C?

1 Answers  


What is iterator in c++?

1 Answers  


Categories