what are the different strings function? explain with example
Answers
Answered by
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
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
Science,
1 month ago
Math,
1 month ago
Science,
1 month ago
Computer Science,
3 months ago
Science,
3 months ago
Science,
9 months ago
Computer Science,
9 months ago