Strings

Strings basically are arrays of characters, with a slight twist to account for the terminating NULL CHARACTER (‘\0’). This character signifies the end of a String, even if the full array’s length has not been fully utilized.

There is no keyword for declaring Strings; as mentioned, Strings are characters stored in contiguous memory (array).

Whatever you can do with Arrays (and Lists as well), you can do with Strings as well. Strings are, after all, just contiguous memory, similar to your Array and Strings. Once you know the differences between a String and an Array (the ‘\0’ and a different and new way of String definition), you can do a lot of cool things! You can try making Arrays of Strings, or Lists of Strings, or Strings as Lists! The possibilities are, as they say, endless (or perhaps not really).