Understanding Char Arrays and Strings
Jul 4, 2024 · 5 min read · What is char Array[]? In C++ a character array (or char array) is a sequence of characters stored in contiguous memory locations. Char arrays are often used to store strings, although C++ also provides the 'std::string' class, which is more convenien...
Join discussion