Carefully distinguish between the scope resolution operator, and the dot operator.

What will be an ideal response?

Both the dot operator and the scope resolution operator are used with data and function member names of a class or struct to specify of what class/struct the member name is a member. The dot operator is used with an object to qualify a data member name or with a call to function member. The scope resolution operator is used with the definition of member function to tell the compiler that this function is the one declared in the specified class.

Computer Science & Information Technology

You might also like to view...

Interfaces can have_________methods.

a. 0 b. 1 c. 2 d. any number of

Computer Science & Information Technology

Which of the following are true about OSI model data units?

Computer Science & Information Technology