Computer Science, asked by hamza3602, 1 year ago

What library function we should use for string in c++?

Answers

Answered by digi18
1
Well there are several library functions that we can used with Strings based on our need.

1) strcpy() - Ued tp copy string.

2) strcmp () - used to compare two strings.

3) strlen () - Used to find length of string.

4) strcat ()- used to join 2 strings.

5) strlwr () - convert string to lowercase.

6) strupr () - convert string to uppercase.


Thanks
Similar questions