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...


How const functions will be treated by compiler?

Answers were Sorted based on User's Feedback



How const functions will be treated by compiler?..

Answer / achal ubbott

A member function can be const qualified. e.g.

class SAAMPLE
{
int m1;
void f() const;

}
Now function f will not be able to modify the value of data
members. If so done the compiler would report an error.

Is This Answer Correct ?    3 Yes 1 No

How const functions will be treated by compiler?..

Answer / window

Question is "How const functions will be treated by
compiler?" you guys answered the question "What do you now
about const functions?"

Please do not write what you know. Because of answers like
this, questions in websites are becoming obsolete.

Is This Answer Correct ?    1 Yes 0 No

How const functions will be treated by compiler?..

Answer / anil

it not allow to change value of the const variable.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C++ General Interview Questions

What is the best c++ compiler?

0 Answers  


What is a dynamic binding in c++?

0 Answers  


What is the difference between containment and delegation?

0 Answers  


What is c++ runtime?

0 Answers  


What is :: operator in c++?

0 Answers  


What is this weird colon-member (" : ") syntax in the constructor?

0 Answers  


Which bit wise operator is suitable for turning off a particular bit in a number?

0 Answers  


What is polymorphism and its type in c++?

0 Answers  


What is a dll entry point?

0 Answers  


How can I improve my c++ skills?

0 Answers  


Program to check whether a word is a sub-string or not of a string typed

0 Answers  


Explain the difference between c & c++?

0 Answers  


Categories