Question: using c program Write/Implement a function definition for a function my_strcmp () with the following header: int my_strcmp (const char *s1, const char *s2) This

using c program
Write/Implement a function definition for a function my_strcmp () with the following header: int my_strcmp (const char *s1, const char *s2) This function compares the string pointed to by s1 to the string pointed to by s2. If the string pointed to by s1 comes before the string pointed to by s2 in dictionary ordering, then -1 is returned. If the string pointed to by s1 is the same as the string pointed to by s2, then 0 is returned (the compare function is case sensitive). Otherwise 1 is returned
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
