(a) Write a program in C++ to compare two fractional numbers by overl…

Previous year question for Object Oriented Programming Using C++.

Question

(a) Write a program in C++ to compare two fractional numbers by overloading the relational operator (==, !=, >=, <=).

(b) When do we use multiple catch handlers ? Write a program in C++ that illustrates the application of multiple catch statements.

Related pages

Open on CachedInfo