difference between primitive data type and composite data type with example
Share
difference between primitive data type and composite data type with example
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Primitive Datatypes are the one which are pre-defined and has reserved keyword.
Eg - char , int , float , boolean
User-Defined Datatypes are the one which holds data in the format that user defines,the limits on these datatypes are placed by the user based on requirement.
Eg - structure , enum ,union etc.
Explanation: