What is difference between primitive and non primitive data types with example? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is difference between primitive and non primitive data types with example?

16th Mar 2019, 4:50 PM
sonali
2 Answers
+ 2
Thank u
16th Mar 2019, 7:01 PM
sonali
+ 1
Primitive data type are nothing but basic data types like the - int, char, long etc, Non Primitive data type are derived from basic data types like array, structure, union, string. Hope this helps...!
16th Mar 2019, 6:58 PM
Kuri
Kuri - avatar