Please tell me what i am doing wrong in this code


it shows
/bin/run.sh: line 4: 18 Segmentation fault (core dumped) ./exe
I understand it whats wrong that I try to increase size of array please tell me correct way??