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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Define private, protected and public access control.

700


Is multimap sorted c++?

653


What are the basic data types used in c++?

658


Explain how overloading takes place in c++?

660


What is auto type c++?

723






Can a built-in function be recursive?

681


Explain the use of virtual destructor?

710


What is scope operator in c++?

651


How do you initialize a string in c++?

651


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create

2156


How many characters are recognized by ANSI C++?

1016


Is there structure in c++?

679


What is difference between n and endl in c++?

664


Can a Structure contain a Pointer to itself?

695


In the derived class, which data member of the base class are visible?

740