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

The ability to verify at run time the type of an object by using the typed operator or the dynamic_cast operator.


create a flowchart that display the assume that there are 3 section each student ?

This assignment is to be undertaken individually - no group work is permitted. Background information This assignment is an exercise in simple object-oriented programming and, acco

Given a bool variable isReadable write some statements that assign true to isReadable if the file "topsecret" exists and can be read by the program and assigns false to isR

write c program to do the following : -fill 2 dimensional array (square matrix array with size=4). -ask the user to enter any integer number and add this number to the diagonals -o


A: this is a procedure during exception handling while the destructor is called for all local objects in the stack among the place where the exception was thrown & where this is ca

An experiment succeeds twice as often as it fails. Find the chance that in the next six trials there will be at least four successes.