Slip 16 - B) Create a C++ class MyMatrix and Write necessary member functions for the following: i. To accept a Matrix ii. To display a Matrix iii. Overload unary ‘-* operatorto calculate transpose of a Matrix. iv. Overload unary ‘++’ operator to increment matrix elements by 1.

Post a Comment

0 Comments