Computer Science, asked by fenilsutariya45, 5 months ago

Write any two program from the following.

1. Write a program to create two classes which contain one value each. Create a function sum() to perform multiplication of both values using single inheritance.

2. Write a program to perform Binary operator overloading of plus (+) operator using friend function.

3. Write a program to perform square of a number using parameterized constructor.

Answers

Answered by aditya64523
0

Answer:

2) Ctrl+

3) (x,y,x,y)

I did not know the answer of first....

Similar questions