struct one { int a1; void display() {           cout << "Struct method"; } }; class cone { int a2;…
Continue Reading