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

If 13.3 mol of Co(NO3)2 are reacted how many moles of NaNO3 are produced?
Please need answer ASAP did I get the correct answer ? If not please let me know
Copper (I) ions in aqueous solution react with NH3 to form [Cu(NH3)2]+. The Kf of that complex is 6.3 x 1010. Calculate the solubility of CuBr in 0.50 M NH3. Th
What is the split atom called?
Find the greatest number which divides 6168, 2447 and 3118 leaving the same remainder in each case.
Geometry math question no Guessing and Please show work thank you
What number should be added to both sides of the equation to complete the square x^2+12x=11
Anyone know this? Please help
A yard of fabric cost $ 14.50 . How much is 2.3 yards of fabric
Which of these actions is an example of acting on an impulse rather than practicing delayed gratification? A. Turning down a cigar even though many of your frie