(g) Write one difference between primitive data types and composite data types.
Answers
Answered by
4
Ans. A primitive data type is not composed of other data types. Ex: int, float, double while a composite data type is composed of other data types. Ex: class
Answered by
2
Primitive data types are basically the fundamental data types such as 1,2,3 which may be integer or character or float values. Whereas the composite data types are the user defined data types such as structures, union, etc.
Similar questions