SIGSEGV Error in code

https://ide.codingblocks.com/s/206574 Can anyone help me debug SIGSEGV Error in this code?

Hi @priyeshant1104,
The code u have provide is not for sum-of-all-submatrix-from-a-given-matrix-approach-3.
Please provide the code for the following problem for which u were getting SIGSEGV.
Or else if u have some other doubt, u can ask it here.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.