We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I'm a bit late to the party - in C can't you pass the array, call sizeof(int), then divide sizeof(array) by sizeof(int) to get the size of the array in cells?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Quicksort 2 - Sorting
You are viewing a single comment's thread. Return to all comments →
I'm a bit late to the party - in C can't you pass the array, call sizeof(int), then divide sizeof(array) by sizeof(int) to get the size of the array in cells?