Multiple choice technology programming languages

Which is not a basic data type of C++ ?

  1. int

  2. char

  3. string

  4. float

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

string is a class in C++ (std::string), NOT a basic data type. The basic types are int, char, float, double, bool, and wchar_t. string is part of the Standard Library and provides string manipulation functionality.