elibraryportal Logo

Array of Strings in C++

An array of strings is simply a two dimensional array of characters where each row represent a string. An array of string is declared and intialised in the same way as any two dimensional array of type int, float,etc.

Example:-

Example:-

Output:

 String array is as follows:
Element 0= one
Element 1= two
Element 2= three
Element 3= four
Element 4= five
Next TopicPointer in C++