What is operator overloading? Give Example

Answers were Sorted based on User's Feedback



What is operator overloading? Give Example..

Answer / ramkumar

when have two or more operator is called operator overloading.
E.g,. i++,a++b

Is This Answer Correct ?    10 Yes 36 No

Post New Answer

More OOPS Interview Questions

What is abstraction?

9 Answers  


What is encapsulation selenium?

0 Answers  


What is encapsulation oop?

0 Answers  


what is an qt4 interface?

1 Answers   IBM,


We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?

8 Answers   IBM, Sage, Vertex,






what is different between oops and c++

0 Answers   IIT,


What is a friend function & its advantage?

2 Answers   TCS,


What is multilevel inheritance explain with example?

0 Answers  


who is the father of OPPS

4 Answers   Infosys, TCS,


what is the difference between class and object?

9 Answers  


char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output

9 Answers   Persistent,


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

0 Answers  


Categories