Which operators cannot be overloaded what restriction


Problem

1. Does a nonmember function have to be a friend to access a class's members?

2. Use a friend function to overload the multiplication operator for the Stone wt  class; have the operator multiply the double value by the Stone value.

3. Which operators cannot be overloaded?

4. What restriction applies to overloading the following operators? =, (), [], and ->

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Which operators cannot be overloaded what restriction
Reference No:- TGS02639288

Expected delivery within 24 Hours