Which of the following is NOT a primitive data type in C++?
- Array
- Boolean
- Float
- Integer
In C++, an array is not a primitive data type; it's a user-defined data type used to store a collection of elements of the same data type. Primitive data types include integers, floats, and booleans, among others.
Loading...
Related Quiz
- The goto statement can lead to _______ if used indiscriminately.
- How does the compiler treat the conditions in a nested if-else structure?
- The ASCII value of 'A' in decimal is _______.
- How does operator precedence affect the evaluation of complex expressions in C++?
- What happens if an inline function is called inside a loop?