RULES OF OPERATOR OVERLOADING || C++ PROGRAMMING --Lecture--27

RULES OF OPERATOR OVERLOADING || C++ PROGRAMMING --Lecture--27

t v nagaraju Technical

3 года назад

2,768 Просмотров

• Only existing operators can be overloaded, new operators cannot be created and overloaded.
• User cannot redefine the original meaning of an operator when it is overloaded.
• Operator overloading cannot change the precedence and associativity of operators.
• Unary operators overloaded through a member function, take no explicit arguments and return no explicit values. But, those overloaded through a friend function, take one reference argument.
• Binary operators overloaded through a member function take one explicit argument and those which are overloaded through a friend function take two explicit arguments.
etc...


See Complete Playlists:

Object Oriented Programming through C++:

https://www.youtube.com/playlist?list...

For Material
http://supportprogramming.blogspot.co...

Programs on c:

https://www.youtube.com/playlist?list...


C - Programming

https://www.youtube.com/playlist?list...

Programs on c:

https://www.youtube.com/playlist?list...

Technical Mcqs:

https://www.youtube.com/watch?v=Fxgt5...

TOC/Flat:

https://www.youtube.com/playlist?list...


Design and analysis of algorithms:
https://www.youtube.com/playlist?list...

python:
https://www.youtube.com/playlist?list...

Data Structures:
https://www.youtube.com/playlist?list...

Advanced Data Structures:

https://www.youtube.com/playlist?list...

Machine Learning:
https://www.youtube.com/playlist?list...

Operating Systems:
https://www.youtube.com/playlist?list...

Java Programming:

https://www.youtube.com/playlist?list...

Network Security:

https://www.youtube.com/playlist?list...

C++:
https://www.youtube.com/playlist?list...

Programs on c:

https://www.youtube.com/playlist?list...

Computer Graphics:

https://www.youtube.com/playlist?list...

Тэги:

#c++ #cpp #class #object #inheritance #polymorphism #abstraction #encapsulation #message_passing #information_hiding #oops_concepts #object_oriented_programming #principles #constructors #destructors #virtual #early_binding #late_binding #operator #keyword #operator_function #overlaoding #member_function #unary_operator #binary_operator #rules #friend #assignment_operator #pure_virtual_function #abstract_class #inline_function #static_member #static_function #tv_nagaraju #technical #cse #it #jntuk
Ссылки и html тэги не поддерживаются


Комментарии: