Operator overloading, C/C++ Programming

Operator Overloading:

When  an  operator  is  used  for  different  operations,  such  process  is  called  operator

overloading.  In C pointer operator * is used to declare pointer variable as well as it is used for multiplication expression Similarly in C++ << is used display values of dissimiller data typewithout defining any format code, like in C. The same operator is also used in bit wise operation.

cout <<77.45;

cout<<This is C++;

Posted Date: 9/20/2012 7:39:26 AM | Location : United States







Related Discussions:- Operator overloading, Assignment Help, Ask Question on Operator overloading, Get Answer, Expert's Help, Operator overloading Discussions

Write discussion on Operator overloading
Your posts are moderated
Related Questions
A r r a y s w i t h i n a c l a s s: I t i s j u s t d ecl a r i n g o r c on s t ru c ti n g a d e r i v e d t

Optimized NIC Driver for Windows Compact 7 for Hard Real Time Communication Project Description: I am seeking an optimized driver (miniport driver) that will be used for sele


Syntax rules for writing a destructor function Its name is the similar as that of the class to which it belongs, except that the first character of the name is the symbol t

i didnt no how to write and how to implement and the programming can be done in C and execution should be done in UNIX

#Hi, I''m planning to derive the escape velocity through C++. I would just like to know if it''s possible to differentiate symbolic functions? Do I need to download libraries,etc?

I require a flowchart for push , & pop operation on stack using array

3 . Write a ‘C’ program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number.

want to understand the working of structure and classes

The car’s measurements are illustrated, using two arrays. Array 1 = {L, R, L, R, R, L, R, R, L, R, R, L, R, L, L, R, Z}