How do I subtract two matrices in C program

How do I write a C program to read elements in two matrices and find the difference of two matrices?

I don’t remember any C or C++. Learnt in university and have never needed to use it (not that it isn’t used anywhere today).

I would search for the solution on either Google or stackoverflow.com.