Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 and delete operator?

0 Answers  


When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?

0 Answers  


What is the purpose of the "delete" operator?

0 Answers  


How the programmer of a class should decide whether to declare member function or a friend function?

0 Answers  


What does extern mean in a function declaration in c++?

0 Answers  


What is difference between class and structure in c++?

0 Answers  


Can a Structure contain a Pointer to itself?

0 Answers  


What is this pointer in c++?

1 Answers  


Name some pure object oriented languages?

1 Answers  


class Alpha { public: char data[10000]; Alpha(); ~Alpha(); }; class Beta { public: Beta() { n = 0; } void FillData(Alpha a); private: int n; }; How do you make the above sample code more efficient? a) If possible, make the constructor for Beta private to reduce the overhead of public constructors. b) Change the return type in FillData to int to negate the implicit return conversion from "int" to "void". c) Make the destructor for Alpha virtual. d) Make the constructor for Alpha virtual. e) Pass a const reference to Alpha in FillData

2 Answers   Quark,


Why pointer is used in c++?

0 Answers  


What is ctime c++?

0 Answers  


Categories