Closed ihameed closed 5 years ago
String literals in C++ have type const char [size], where size is a type-level integer denoting the length of the literal (including the zero terminator), so the length of the literal can be determined statically.
const char [size]
size
String literals in C++ have type
const char [size]
, wheresize
is a type-level integer denoting the length of the literal (including the zero terminator), so the length of the literal can be determined statically.