Counting number of possible pairs in an array whose sum is divisible by k


sir here i get a runtime error why is it so??