Character Strings
- Strings in C are stored as null character ‘’ , terminated character arrays.
- This means that the length of a string is the number of characters it contains one more to store the null character.
- Basically all the strings are the arrays of characters.
- As we declare the array of integers in case of integer array, the same is the case for the strings but here the array is declared as of character type.
String operations
Common string operations include Finding lengths, copying, searching, replacing and counting the occurrences of a specific characters and words.
Arrays of strings
An array of strings is just a two dimensional array of characters.
Example :
char names [ 7 ][ 6 ] = { “Ryan” ,
“Tom” ,
“Chad” ,
“Jackie” ,
“Tara” ,
“Lori” ,
“Kelly” ,
} ;
This gives you an array of seven names.











