Implementation video for sum of sub matrices in 2-d arrays

There wasn’t a video of pointers before this so I tried to implement the code without using pointers but I am facing a problem in doing that.I can’t understand what is the mistake in this code, please check this code https://ide.codingblocks.com/s/241562

hello @Vansh1410

image
here function is receiving 100 X 100 array so while calling this function u need to send 100 X 100 size matrix.

image
just declare this array as int a[100][100] ; it will work.

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.