how does strcmp work? peterchen mentioned thatwhy do the first, second and third examples return -1, 0 and 1 respectively?strcmp compares the two strings for order.
how does strcmp work? peterchen mentioned thatwhy do the first, second and third examples return -1, 0 and 1 respectively?strcmp compares the two strings for order.