Computer Science, asked by EmylinEpsiba, 3 months ago

what are the different strings function? explain with example​

Answers

Answered by deepakkashyap777777
2

Answer:

C String Functions

No. Function Description

4) strcmp(first_string, second_string) compares the first string with second string. If both strings are same, it returns 0.

5) strrev(string) returns reverse string.

6) strlwr(string) returns string characters in lowercase.

7) strupr(string) returns string characters in uppercase.

Answered by muskan2822
5

Answer:

In C programming, a string is a sequence of characters terminated with a null character \0 . For example: char c[] = "c string"; When the compiler encounters a sequence of characters enclosed in the double quotation marks, it appends a null character \0 at the end by default

Explanation:

If it's help you so mark me a brainleast

Similar questions