Which of the following data types is not a primitive data type in C++?
- int
- float
- string
- double
While "int", "float", and "double" are primitive data types in C++, the "string" data type is a part of the C++ Standard Library and is, in fact, a class, not a primitive data type.
Loading...
Related Quiz
- Which of the following is true regarding stack unwinding in C++ exceptions?
- What is the output of the logical NOT (!) operator when applied to a non-zero operand?
- Which of the following scenarios is the most suitable for using a break statement in a professional codebase?
- A tail-recursive function often can be rewritten iteratively using a _______.
- To define an abstract class in C++, at least one member function must be declared as _______.