#include #include #include #define LEN 6 int scmp( const void *sp1, const void *sp2 ) { return( strcmp(*(char **)sp1, *(char **)sp2) ); } int scmp_lastChar( const void * p1, const void * p2 ) { char ** pStr1 = (char **) p1; char ** pStr2 = (char **) p2; char * str1 = *pStr1; char * str2 = *pStr2; char l1 = str1[strlen(str1)-1]; char l2 = str2[strlen(str2)-1]; if(l1