
stackexchange.com
https://softwareengineering.stackexchange.com/ques…
What is meant by a primitive data type?
It kind of depends on the language. For example, in languages like C and C++, you have a number of built-in scalar types - int, float, double, char, etc. These are "primitive" in the sense that they cannot be decomposed into simpler components. From these basic types you can define new types - pointer types, array types, struct types, union types, etc. Then you have a language like old-school ...