It's the number of elements in your array:
int arr[] = { 8,7,2,5,3,1};
...
int n = sizeof(arr)/sizeof(arr[0]);
sizeof(arr) is the total number of bytes in the array, sizeof(arr[0]) is the size in bytes of the first element of the array, so n is bytes in array / bytes in each element == elements in array.