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

What is endl c++?

600


What is pointer in c++ with example?

513


Const char *p , char const *p What is the difference between the above two?

653


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

599


What is the use of dot in c++?

618






How did c++ start?

606


Is C++ case sensitive a) False b) Depends on implementation c) True

610


What are shallow and deep copies?

629


What are the different types of comments allowed in c++?

571


What kind of problems can be solved by a namespace?

589


List the issue that the auto_ptr object handles?

604


When do we use copy constructors?

590


Is java easier than c++?

584


Explain 'this' pointer and what would happen if a pointer is deleted twice?

596


Explain the static storage classes in c++.

699