Hey guys I'm new here & new to C Programming too, I have a problem with a little program I made that calculates the product of two matrices. Any thoughts are appreciated.
Segmentation fault in my program-ex9-1-jpg

And here is the error I get:

Segmentation fault in my program-ex9-gcc-jpg
Thanks a lot guys.