Usestrncmp/strcmpto solve the following problem. In system one, phone numbers are recorded as strings with the layout+1-6471231234. In system 2, phone numbers are recorded as strings with the format0016471231234. Assume thatstr1is from system 1 andstr2is from system 2. Write one line of code using strncmp that will result intrue(1)if the two ten digit phone numbers are the same. (use offsets when needed)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here