Why am i getting segmentation error 18?

Also when does code editor give this error?

code saved at : https://ide.codingblocks.com/s/296396

@amangupta,
The array you declared is too large, reduce its size.