Q.Which of the following is not a primitive data type?
Correct answer: String
Explanation
In computer programming language, primitive data types are the basic data types that are built into a programming language. They are typically simple, indivisible values that cannot be broken down into smaller components. Primitive data type - Integer, Float, Boolean, char, byte, double. Non-primitive data type - Arrays, structures classes, strings, pointers.
In computer programming language, primitive data types are the basic data types that are built into a programming language. They are typically simple, indivisible values that cannot be broken down into smaller components. Primitive data type - Integer, Float, Boolean, char, byte, double. Non-primitive data type - Arrays, structures classes, strings, pointers.