In C++, three common non-numeric data types are:
-
char: Used to store single characters, such as letters or symbols, and occupies one byte of memory.
-
string: A class from the C++ Standard Library that represents a sequence of characters, allowing for manipulation of text.
-
bool: Represents Boolean values, which can be either true or false, often used for conditional statements and logic.
ReportLike(0)ShareFavorite