String is special type of array. When an array has a data type of char then it becomes string. String is very popular char array ended by a \n i.e. new line character. You can use #include<string.h> header file to use some predefined functions of string.