Question: QUESTION 1 How can we restrict dynamic allocation of objects of a class using new? A . By making an empty private new operator. B
QUESTION
How can we restrict dynamic allocation of objects of a class using new?
A
By making an empty private new operator.
B
By making an empty private new and new operators
C
By overloading new operator and new operators
points
QUESTION
Which of the following operators cannot be overloaded.
A
:: Scope Resolution Operator
B
Pointertomember Operator
C
All of the above
points
QUESTION
Which of the following operator functions cannot be global, ie must be a member function.
A
new
B
delete
C
Converstion Operator
points
QUESTION
Which of the following operators cannot be overloaded?
A
: Ternary or Conditional Operator
B
:: Scope Resolution Operator
C
All of the above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
