Various operations, such as copying, concatenation, tokenization and searching are supported A string of n characters is represented as an array of n. The std::string type is the main string datatype in standard c++ since 1998, but it was not always part of c++ A string is often implemented as an array data structure of bytes (or words) that stores a sequence of elements, typically characters, using some character encoding More general, string may also denote a sequence (or list) of data other than just characters. In computer science, array is a data type that represents a collection of elements (values or variables), each selected by one or more indices (identifying keys) that can be computed at run time during program execution
Such a collection is usually called an array variable or array value [1] by analogy with the mathematical concepts vector and matrix, array types with one and two indices are. It is used to create an additional name (alias) for another data type, but does not create a new type, [1] except in the obscure case of a qualified typedef of an array type where the typedef qualifiers are transferred to the array element type [2] as such, it is often used to simplify the syntax of declaring. They are expressed in the language syntax in form of declarations for memory locations or variables Data types also determine the types of operations or methods of processing of data elements