You can find physical copies of Advanced C Programming by Example on Amazon, Flipkart , and eBay .

int main() int arr[] = 3, 1, 2, 4; qsort(arr, 4, sizeof(int), compare); for (int i = 0; i < 4; i++) printf("%d ", arr[i]);