What do
you mean by string?
·
String Data Structure: Strings are defined as an
array of characters.
·
The difference between a character array and a
string is the string is terminated with a special character \0.
·
Declaring a string is as simple as declaring a one
dimensional array.
·
Below is the basic syntax for declaring a string in
C programming language.
char str_name[size];

Declaration
of String
char
str_name[]={H,E,L,L,O,\0′};
OR
char str_name []= HELLO;
WAP to
read and write a string using scanf() and printf().

WAP to
read and write a string using gets(0 and puts().

WAP to
count character in a string.
