+ 1

Arrays ,and different data type

Could anyone plz help to learn primitive data type and non primitive

23rd Aug 2020, 12:44 PM
Shubhankar Anand
Shubhankar Anand - avatar
4 Antworten
+ 4
Primitive data types are those which are already defined in the language like integer,floating point, double etc. No primitive data types on the other hand are defined by programmers and are generally made up of primitive data types. For example arrays, classes etc.
23rd Aug 2020, 12:51 PM
Arsenic
Arsenic - avatar
+ 3
~ swim ~ doesn't array being primitive/non-primitive language dependent ? 🤔
23rd Aug 2020, 12:57 PM
Arsenic
Arsenic - avatar
0
Primitive value is an individible value of a program. It doesn't use other values to create its value, it is self the value. While a non-primitive value may use other values to create its value. When you use a non-primitive value as a value, you will get just an address to the real values.
23rd Aug 2020, 1:34 PM
Seb TheS
Seb TheS - avatar
0
It's syntax
24th Aug 2020, 6:35 AM
Shubhankar Anand
Shubhankar Anand - avatar