Write a function called

  

Write a function called strcmp373, which compares two strings in precisely the same way that strcmp does in the C library . This time, please use “pointer syntax” in writing this function. That is, the [ ] operator should not be used at all when referring to particular characters in string1 and string2; instead, all parameters and local variables should be declared as pointers (using the * symbol). You may not use any of the built-in C string library functions to complete this code. Here is the prototype of this function:
int strcmp373(char *string1, char *string2);

Tags: No tags