chickensarecool6217 chickensarecool6217
  • 01-10-2019
  • Computers and Technology
contestada

What do you understand by ‘operator overloading’? How does an operator

overloading feature can negatively affect a programming language despite its

obvious usefulness?

Respuesta :

Cetacea
Cetacea Cetacea
  • 03-10-2019

Answer:  Operator overloading is used for the user-defined field for expression definition of objects , structures etc in programming. It does not  work in built in data types field such as char, float etc.

Example- +,=,[] etc

This feature can be put a negative impact in programming field by operators ,as "+" operator is used for the summing up the integers but in the case of characters , this operator will creates a link in series between them.This acts as drawback for operator overloading.

Answer Link

Otras preguntas

What is x? I tried it but I don’t think I did it right.
Which was Wilson's major impact during the armistice period?
A quadratic equation of the form 0 = ax2 + bx + c has a discriminant value of –16. How many real number solutions does the equation have?
Miguel is selling magazine subscription to raise money for school. Each subscription sells for 15.00 and he promised to raise at least 180.00. Write and solve a
huh.. can someone please help me, i honestly really need this rn.. :(
A cube-shaped gift is 11 centimeters long. What is the least amount of wrapping paper you need to wrap the gift?
For f(x) = -x -7, find f(-5)​
What is the area of a parallelogram with a height of 7 feet and a base of 12 feet? 19 ft2 38 ft2 42 ft2 84 ft2
people who give donations to worthy causes are know as
How do warm colors affect your mood