Mastery25:: Creation and use of strings in C++

The C-style character string originated within the C language and continues to be supported within C++. This string is actually a one-dimensional array of characters which is terminated by a null character ‘’. Thus a null-terminated string contains the characters that comprise the string followed by a null.

25 

1017

Example:

CC BY 4.0 Mastery25:: Creation and use of strings in C++ by Carolina Romo is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.