Object Oriented Programming20805 marksExceptional Handling
List any two operators that cannot be overloaded. Write a program to handle the possible exception in taking 'age' as input. Here the exception must be thrown in the input is negative or greater than 200.
List any two operators that cannot be overloaded. Write a program to handle the possible exception in taking 'age' as input. Here the exception must be thrown in the input is negative or greater than 200. [5]
The following operators cannot be overloaded in C++: Operator Name ---------------- :: Scope Resolution Operator ?: Ternary (Conditional) Operator Other examples include: . (member access), . (pointer to member), sizeof. --- The program throws an exception if the entered age is negative or greate...