Sorting Array of Strings

  • + 0 comments

    I'm curious about int chr = (*a++) - 'a'; this line. Does it guarantee it'll minus 'a' first then do increment?

    I mean does it really means:

    int chr = *a - 'a';
    *a++;
    

    or it'll sometime be:

    int chr = (*a + 1) - 'a';