Derived data types defined by the system include pointer, array and reference. User defined derived datatypes are built on existing types. These include class, struct, union and enumerations.
In c++ what is basically the difference between derived data type and user defined data type ?
If I remember correctly, and I could be wrong, a derived data type is something that your program comes up with, like if you were making it do a calculation and then the answer would be the derived data type.
The user defined would be what the user enters when prompted.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment