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

Difference between Operator overloading and Functional
overloading?

Answer Posted / nsit@salem

C++ provides more than 35 operators, covering basic
arithmetic, bit manipulation, indirection, comparisons,
logical operations and others. Almost all operators can be
overloaded for user-defined types, with a few notable
exceptions such as member access (. and .*) as well as the
conditional operator. The rich set of overloadable operators
is central to using C++ as a domain-specific language. The
overloadable operators are also an essential part of many
advanced C++ programming techniques, such as smart pointers.
Overloading an operator does not change the precedence of
calculations involving the operator, nor does it change the
number of operands that the operator uses (any operand may
however be ignored by the operator, though it will be
evaluated prior to execution). Overloaded "&&" and "||"
operators lose their short-circuit evaluation property.
Operators that cannot be overloaded

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is flush programming?

951


Which one between if-else and switch is more efficient?

1010


What is virtual methods?

1077


How can virtual functions in c++ be implemented?

1058


What is near, far and huge pointers? How many bytes are occupied by them?

1068


What are the manipulators in c++?

983


Which is better turbo c++ or dev c++?

1005


How would you find out if a linked-list is a cycle or not?

956


What are special characters c++?

971


What does I ++ mean in c++?

1034


What is the array and initializing arrays in c++?

981


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

1014


What is a far pointer? where we use it?

1019


What is a character in c++?

995


Is c++ pass by reference or value?

1002