Say if two strings are exactly identical in C, except that one of them has a '\n' at the end before the null terminator. If we try to use strcmp to see if the two strings are the same, will strcmp match them as being the same or different?
If it doesn't match it, how can we get around this and ignore the '\n' ?