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

When an emergency vehicle operator begins to approach an unsafe level of operation, he or she will hear?
Smokers have a great chance of developing deadly diseases True or false
Read the sentence. Journals writing are an effective tool for developing new essay topics. Proofread the sentence and fix the error.\
A true mathematician would know this problem. So If you know the magic square(You can look it up)I need each of a 3 by 3 square to have one of these each number
Comparison/contrast, cause-and-effect, and persuasion are all ways of
Which organisms fix nitrogen into forms like ammonia? A. Bacteria B. Algae C. Humans D. Plants
under whose footsteps was the rose-bush outside the prison supposed to have sprung up? - (The Scarlett Letter)
How was Chinese influence spread in Korea during the period of the three kingdoms? A. through the travels of Chinese Buddhist monks B. through military conques
Not sure how to do this *look at the picture*
what is x? idk how to do this plz thx.