C-Style Strings
C-style strings are created with the char
type instead of string
.
The name comes from the C language, which, unlike many other programming languages, does not have a string
type for easily creating string variables. Instead, you must use the char
type and create an array of characters to make a “string” in C. Continue reading C++ C-Style Strings