Strings and String Functions in C++

String is an object that represents a group or a sequence of characters. String is represented as a one-dimensional array of characters and ends with a \0 (null character). String is defined in the same way as the other data types (integer, character). The first step will be to declare a string variable and then assign a value to the variable.

Leave a Reply