write your own version of the strcmp function


Write your own version of the strcmp function string_compare.
Supply a main program that will test each of the 3 differing outcomes.

int string_compare(char *s, char *t);

returns

<0 if s is lexically before t
0 if s is identical to t
>0 if s is lexically after t

Request for Solution File

Ask an Expert for Answer!!
Application Programming: write your own version of the strcmp function
Reference No:- TGS0154945

Expected delivery within 24 Hours