qsort function to sort a struct

1
typedef struct{
    long At[tam], Si[tam], Sf[tam];
}TDados;

For this struct , I wanted to understand how to sort struct by Sf using the qsort function. Can anyone explain?

    
asked by anonymous 20.03.2017 / 14:57

0 answers