You are on page 1of 1

DESIGNING MATRIX AND VECTOR CLASS

AIM:

To design C++ classes with static member methods with default argument friend
functions.

ALGORITHM:

Step 1: Start the program.

Step 2: Create the class vector and matrix.

Step 3: Declare the friend function using default arguments.

Step 4: Define the friend function of use for loop for both class.

Step 5: In main function call the friend function.

Step 6: Stop the program.

RESULT:

Thus C++ program with static member with default argument, friend function was
successfully executed and verified.

You might also like