String in C Language – tccicomputercoaching.com String is a collection of more than one character in C Language.
In C string is not allowed as a data type,so, we have to use character array. Declaration string syntax: charstr_name[size]; Example: char s1[20]; Input string function: gets(s1); To output string function: puts(s1); Operations done on the string: 1. Find out the length of string strlen(s1)