Strings in C++ »
By admin on May 26, 2009 in Working with C++ | Comments Off on Strings in C++
Strings and Arrays of characters in C++ Low level strings are represented by arrays of characters in C and C++. These arrays are terminated by ‘\0’ , the special marker character null, which is used to indicate the end of a string. char string1[ ] = { ‘H’,’e’,’l’,’l’,’o’,’ ‘, ‘W’, ‘o’, ‘r’, ‘l’, ‘d’, ‘\0’ […]