#include <stdlib.h>
#include <stdio.h>
int comp1(const void* a, const void* b)
{
}
int main()
{
char* sort_char_array[] = { "about", "this", "and", "url", "that", "the", "i", "hi" };
qsort(sort_char_array
, 8, sizeof(char*), comp1
); //about and hi i that the this url for (int i = 0; i < 8; i++)
printf("%s\n",sort_char_array
[i
]); }
I2luY2x1ZGUgPHN0ZGxpYi5oPgojaW5jbHVkZSA8c3RkaW8uaD4KCmludCBjb21wMShjb25zdCB2b2lkKiBhLCBjb25zdCB2b2lkKiBiKQp7CiAgICByZXR1cm4gc3RybGVuKCooY2hhcioqKWEpIC0gc3RybGVuKCooY2hhcioqKWIpOwp9CgppbnQgbWFpbigpCnsKICAgIGNoYXIqIHNvcnRfY2hhcl9hcnJheVtdID0geyAiYWJvdXQiLCAidGhpcyIsICJhbmQiLCAidXJsIiwgInRoYXQiLCAidGhlIiwgImkiLCAiaGkiIH07CiAgICBxc29ydChzb3J0X2NoYXJfYXJyYXksIDgsIHNpemVvZihjaGFyKiksIGNvbXAxKTsgLy9hYm91dCBhbmQgaGkgaSB0aGF0IHRoZSB0aGlzIHVybAogICAgZm9yIChpbnQgaSA9IDA7IGkgPCA4OyBpKyspCiAgICAgICAgcHJpbnRmKCIlc1xuIixzb3J0X2NoYXJfYXJyYXlbaV0pOwp9Cg==