What does it mean by SIGSEGV?

How can i correct it? Here is my code… CodeChef: Practical coding for everyone

Line 42
Instead of scanf("%d",a[i]) maybe it should be scanf("%d", a + i)

2 Likes

This might help you.