MATRIX multiplication

This is a discussion on MATRIX multiplication within the C Programming forums, part of the General Programming Boards category; whats the error in the code ?
Code:
// MATRIX MULTIPLICATION
#include<stdio.h>
# define MAXROWS 20
# define MAXCOLS 30
...

Yep. The first time you define computesums has to match up with the second time you define computesums. Change the argument of the first definition to match the second definition. Alternatively, you can change the argument of the second one to match the first one, and put int f in both.

It's also lacking in general polish; it almost never makes any sense to put two printfs right after each other. If you run it like this, it'll say "Enter the no. of rows and columns of the First matrixHow many rows?", which I trust you do not want at all. Add a line break somewhere in between. As my old information literacy teacher would say, "Computers are stupid! They only do what you tell them to do!".