Getting runtine error


When i run the above code i on ideone.com, i get a runtime error. Can anyone tell me what’s wrong with the code?

in the for loop where u take input for array put scanf("%d",&arr[i])
u are missing &