Programming Operators Over

Operator Overloading

            multiple definitoions of an operator…. operator overloaiding can transform complex , obscure, prog nto intuitively obvious one….

Operator Which Can't Be Overloaded

            all op can be overloaded but :—

::    scope resolution (def of func out side class)

   dot operator/mem access(link obj & func)

? :  ternary op (if else function)

—> pointer to member operator

Data Conversion

            2 types of data conversion r…

            implicit (automatic)

            explicit (from us)

            e,g a = static_cast<int> (b);