crtownsend3056 crtownsend3056
  • 21-08-2019
  • Computers and Technology
contestada

To define constructors and member functions outside of a class's original scope, the operator can be used.

Respuesta :

Cetacea
Cetacea Cetacea
  • 28-08-2019

Answer: Scope resolution operator(::)

Explanation: A member function and the constructor can be called within the function easily but for the execution of the these components outside the class , a special operator is required to call the functions. The scope resolution operator(::) preceding with the name of class is thus used for defining of the function outside class.This operator maintains the cope of the function and constructor outside the class.

Answer Link

Otras preguntas

True or false?, If false please correct the sentence
what is the 14th term of the sequence 2,4,8,16,32​
Andrew is selling tickets for the school play, and charges t dollars for adult tickets and 2 dollars for child tickets. On Monday, he sold 18 child tickets and
Every student chooses a group that they belong to (sports team, music group, scout team, social service team, Red Cross, etc.). Write a ten-line paragraph stati
what rights did a free Northern black have?
I am a double-membraned cell organelle. I produce energy, so I am known as the 'power house of the cell'. Who am I?i need this answer quick please !
Cual es el país más grande del mundo
1. How are the outer planets similar to each other?
How were the approaches of Martin Luther king Jr. And Malcolm X different? Please help 20 points
dentify three things the government controls in a communist country, and give one example of a current communist country.