In C++, a class defined with the class keyword has private members and base classes by default. A structure is a class defined with the struct keyword. Its members and base classes are public by default. In practice, structs are typically reserved for data without functions.
Difference between Class and Object click the link https://youtu.be/dkk0e1x3nSU
Like our Facebook Page
Learning c with programming
#learningcwithprogramming
Download
0 formats
No download links available.
Difference between class and stricture in c++ | class and structure in c++ | NatokHD