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

On 14th March people were able to visit Murud Janjira only by boat for the whole day. Why would this have happened? What date would it happen again? Approximate
compare the following number :- ▪︎ 3 × 10¹² and 4 × 10¹¹ I need a well explained solution,pls not from any other websites thx for answering~~​
I’m nobody who are you finding the central idea
which territory did the united states annex after american plantation owners overthrew the ruling government?
Answer 1-4 please and thankyou.​
Is anyone an do this
What is the missing number in the table
Janet is playing a game in which she interacts with an environment to solve a puzzle and to meet new characters. She really enjoys this game because there are n
I have two questions. I hope anyone can help me <3 Question 8 & Question 9. ​
Three people made the diagrams above to show what they think the moon looks like when it is seen from above (top view). In these diagrams, the sunlight is comin