Compilation Error

I am getting error “/bin/run.sh: line 4: 19 Segmentation fault (core dumped) ./exe”. My code is precisely the same what is taught in the video. but I am getting this error

Here is the link of the code