Computer Science, asked by biriyani71, 10 months ago

give four examples of string functions in C++​

Answers

Answered by shaleenshekharIIT
1

i)strlen():- Calculates the length of string

ii)strcpy():- Copies a string to another string

iii)strcat():-Concatenates(joins) two strings

iv)strcmp():-Compares two string


biriyani71: thank you
shaleenshekharIIT: you are requested to mark me brainliest
biriyani71: how?
Answered by shree2131
1

Answer:

strcat: The strcat() function will append a copy of the source string to the end of destination string. The strcat() function takes two arguments: ...

strrchr: In C/C++, strrchr() is a predefined function used for string handling. ...

strcmp: strcmp() is a built-in library function and is declared in <string.

Similar questions