answersLogoWhite

0

Overloading refers to use of something for different purposes.

Function Overloading - It refers to the design of family of functions with one function name but with different argument list. The correct function will be invoked by checking the number and type of the arguments.

Operator Overloading - The mechanism of giving the additional property to the operator is known as operator overloading. We can overload all the operators except the following:

1.)Class members access operators

2.)Scope resolution operator

3.)Sizeof operator

4.)Conditional operator

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How operator overloading differ from function overloading?

Function overloading is multiple definition with different signatures(the parameters should be different) for the same function. The parameter list have to be different in each definition. The compiler will not accept if the return type alone is changed. Operator overloading is defining a function for a particular operator. The operator loading function can not be overloaded through function overloading.


What do you mean by precipitation reaction explain by giving example?

creation of solid in a solution


Explain test marketing giving examples?

process of test marketing with the help of an example


How do you perform any operation by giving any operator?

You cannot perform any operation by giving any operator. The operation must be valid in the domain and range.For example, you often cannot perform the square rootoperation using the square root operator if your domain and range are integers. At the level of maths that I guess you are at (from this question), the square root of a negative number is not a operation that is defined.


Explain the following tearm in the context of object oriented programming Also explain how these concept are implement in c by given an example program for each?

Explain the following terms in the context of object oriented programming. Also explain how these concepts are implemented in C++ by giving an example program for each.


What do you men by precipitation explain by giving an example?

Precipitation refers to any form of water, such as rain, snow, sleet, or hail, that falls to the ground from the atmosphere. For example, when water vapor in the air cools and condenses into clouds, eventually becoming heavy enough to fall back to the Earth as rain, this process is known as precipitation.


When do we use an address operator in c'?

In C we use & operator while giving address of some variable to some pointer variable. & operator is also used in scanf().


How do you simplify an equation and then solve it?

Collect like terms is a good starting point. Giving an example would have nade it easier to explain.


Explain the Abstraction terms in the context of object oriented programming Also explain how these concepts are implemented in C by giving an example program for each?

g terms in the context of object oriented programming


Explain and contrast an entrepreneurial business structure with a functional business structure giving an example of the business that might use each structure?

ok ok ok


What is vision explain giving example from sport?

It is being able to see the whole field. Such as in soccer, a goalie needs to have good vision to see the entire field.


What is the difference between deacribe and explain?

Describe refers to giving a representation in words while to explain refers to giving details, defining the structure and scope.