The combination of different characters is
called as string data. The “char” data type is used to create character or
string variable both.
The control string “%S” is used to input and
output string data
§
String
array: - When we want to store more than one string in
one string variable then we need to create string array.
§
String
handling functions:
- Since string data cannot be operated normally
by using arithmetic, relational assignment operators etc. so ‘C’ supports a no.
of pre-defined function which are used to perform the operation on string data.
These functions are called as string handling functions.
These
functions are as follows:-
a. strcpy()
b. strncpy()
c. strcat()
d. strncat()
e. strrev()
f. strlwr()
g. strupr()
h. strlen()
i.
strcmp()
j. stricmp(), etc.
for detailed information download PDF
downloading servers are below
server 1 [media fire]
No comments:
Post a Comment