![Found this in an old C/C++ project of mine. It's technically C++, but I guess I *really* wanted a C string. : r/badcode Found this in an old C/C++ project of mine. It's technically C++, but I guess I *really* wanted a C string. : r/badcode](https://preview.redd.it/gm1nrs97miz51.png?auto=webp&s=8f6c5722a083378dacdadf53ee99ab542f8bfe0c)
Found this in an old C/C++ project of mine. It's technically C++, but I guess I *really* wanted a C string. : r/badcode
![1 C-strings String = null-terminated array of characters The null character ('\0') specifies where the string terminates in memory. Example: The string. - ppt download 1 C-strings String = null-terminated array of characters The null character ('\0') specifies where the string terminates in memory. Example: The string. - ppt download](https://slideplayer.com/5016298/16/images/slide_1.jpg)
1 C-strings String = null-terminated array of characters The null character ('\0') specifies where the string terminates in memory. Example: The string. - ppt download
![Null-terminated String C-string String.h PNG, Clipart, Black, Cstring, C String Handling, Gstring, Lingerie Null-terminated String C-string String.h PNG, Clipart, Black, Cstring, C String Handling, Gstring, Lingerie](https://cdn.imgbin.com/6/22/13/imgbin-null-terminated-string-c-string-string-h-string-sCd3rEFvrYF7uGqBLTsqEHVFx.jpg)