I have two structs one which holds car information. The function I am writing requires to sort the list by an entered key. The list struct holds the function ptr to use. Can I use this pointer in qsort? I have tried
but it gives the warning: parsing of arg 4 'qsort' from incompatible pointer type.
typedef struct List
Any light shed appreciated.