ABOUT STRING

String in c is used for storing text/character.

“hello word” is a string of character.

char name[]=”hello word”;

char name[]={‘h’,’e’,’l’,’l’,’o’,’w’,’o’,’r’,’r’,’d’};

printf(“%s”, name);

 A string constants is a one dimension array of character terminated by a null(‘\0’).