In this program, We are multiplying the value 10 and 4 by using inheritance.Output:$ g++ des.cpp$ a.out40
Share this page with your friends!