Skip to content

Tag Archives: C++-Operator Overloading

Which of the following operators are overloaded by default by the compiler in every user defined classes even if user has not written? 1) Comparison… Read More
Which of the following operators cannot be overloaded (A) . (Member Access or Dot operator) (B) ?: (Ternary or Conditional Operator ) (C) :: (Scope… Read More
How can we restrict dynamic allocation of objects of a class using new? (A) By overloading new operator (B) By making an empty private new… Read More