String

The String is Collection of the Characters or Array of Character. Whenever we are entering the string value, at that time the interpreter will put the NULL Character automatically in last of the string. Each and every string will terminated with NULL (\0) character..
String Related Functions
proto-type:            <string.h>


                strlen                      >            Leangth of the String.

                           strlen(string);

                strrev                      >            Reverse of the String.

                           strrev(string);

                strcat                      >            To Concatenate 2 Strings.

                           strcat(string1,string2);

                strlwr                      >            To convert Lower case String.

                           strlwr(string);

                strupr                      >            To convert uppercase String.

                           strupr(string);

                strcpy                     >            To copy a string.

                           strcpy(dest,source);

                strcmp                    >            To Compare 2 Strings.

                           strcmp(string1,string2);

                gets()                      >            To Get the String Value from User.

                           gets(strng-var);

                puts()                      >     To print the String Value to output device.

                           puts(string-var);