What is the difference between class and structure?
Editorial / Best Answersumitv
Structure does support inheritance.
try out the following code.
using namespace std;
struct Derived:public Base
cout<<endl<<"A = "<<A<<endl;
D.A = 111;
Try out private and protected inheritance as well. It works. :)
- Identify critical invoice in SAP
- SQL query to convert single row from multiple tables into single row in a table
- How many students are there in the class?
- What is the output of the following program?
- Transformer based ups vs transformer less ups
- Vpn and vlan
- Difference beetween ppc & opc
- Credit memo and debit nemo in AR and ap
- Sub class method call
- Pre-emtive and non-pre-emtive scheduling
- Filters and restricted columns
- Abstract class and final class
- C based on data structure
- Redis server database data storage
- Difference between mobile app testing and mobile app native testing
- Etl case and decode
- Subclass of component class
- Selenium framework architecture
- Structure padding
- Horizontal and vertical clustering