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

Explain what are accessor methods?

1120


Define what is constructor?

1055


What is the latest version on c++?

1132


What are the data types in c++?

941


What is function declaration in c++ with example?

1092


Tell me difference between constant pointer and pointer to a constant.

1189


Is dev c++ free?

1040


What is scope in c++ with example?

1109


How many static variables are created if you put one static member into a template class definition?

1039


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

1048


What is the difference between c++ and turbo c++?

1197


What is the outcome of cout< a) 16 b) 17 c) 16.5

1015


What is a vector c++?

1171


What is the return value of the insertion operator?

1126


What is the difference between reference and pointer?

1151