what is the difference between structure and


What is the difference between structure and class?

- Members of structures are public while those of a class are private.

- Classes provide data hiding while structures don't.

- Class bind both data as well as member functions whereas structures comprise only data.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: what is the difference between structure and
Reference No:- TGS0354924

Expected delivery within 24 Hours