BrainyBoy5515 BrainyBoy5515
  • 22-04-2018
  • Social Studies
contestada

A reason to overload the ________ is to allow you to write classes that have array-like behaviors.

Respuesta :

andriansp andriansp
  • 02-05-2018
I believe the answer is: square brackets [ ] operator

in C++, 
square brackets [ ] operator could be used to outputting an array in a class constructor that  declared using pointers. The constructor should allocate an array and copy values from the pointer argument and should be returned in the element in the array you allocated.
Answer Link

Otras preguntas

6. The probability that a baby will be a boy is ½ as is the probability that a baby will be a girl. Explain this fact by explaining the mechanism of meiosis in
7. Which of the following rivers is the world's busiest waterway? A. Rhone B. Rhine C. Danube D. Seine
Factor 3s+27t. Please help me I was absent for about a week with a high fever when she taught this lesson. I'm on 73% on IXL so PLEASE HELP!
how many atoms are present in 4.0 mol of sodium
A common way to deliver anesthesia for surgery and childbirth is to inject the anesthetic agent into the epidural space. A possible complication of this procedu
what is the credit card balance? A-The amount of interest you must pay the credit card company. B-The required minimum payment to your credit card company. C-A
Which is not an improper fraction equal to eight
Which of the following can increase your credit cards APR
what would you call a object that makes people shut up
What to numbers can be added up the six multiplied to nine