97 - strcmp/strcmpi Function in C Programming | String Function in C

Published: 12 May 2019
on channel: Code Semantic
1,695
21

This video explains one more important function in string.
'strcmp' function is used for string comparison. It compares two strings and gives the result as following
returns positive value if 1st string is greater.
returns negative value if 2nd string is greater.
returns zero if both the strings are equal.
Comparison is based on the ASCII values if characters. It compares characters at corresponding positions and gives the result.
'strcmpi' function is used for case insensitive comparison.


On this page of the site you can watch the video online 97 - strcmp/strcmpi Function in C Programming | String Function in C with a duration of hours minute second in good quality, which was uploaded by the user Code Semantic 12 May 2019, share the link with friends and acquaintances, this video has already been watched 1,695 times on youtube and it was liked by 21 viewers. Enjoy your viewing!