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

party machines in the late-nineteenth and early-twentieth centuries were strong because they controlled which aspects of politics?
plzzzzzz help meeeee​
14. Make a food chain using the following organisms: a. Grasshopper grass snake hawk rat -->
Example: serious. He did not take this matter…………. He did not take this matter seriously. 1. Tidy. I have become ……………….since I stopped going out to work. 2. L
permutasi dari kata- jisoo- cantik- sudahnote: ...​
4x + 10 < 54 Find the 3 consecutive integers
Which is a correct set of parts of a pistil? (a) Ovary, style and filament (b) Ovary style and stigma (c) Ovary, anther and filament (d) Filament and anther​
what was the purpose of the missouri compromise brainly
llllllllllllllllllllllllllllllllllllllllllllll
PLEASE HELP , WILL GIVE A BRAINLY. What is the domain of the function?