Here is my code...I have two dimensional matrices A,B. I want to develop the product of the A and B.
#include <stdio.h>
    #include <stdlib.h>
    int main(int argc, char *argv[])
    {
    int scan();
    int multiply();
    int print();
    int metxa[3][4],metxb[4][3],resut[3][3];
    int main();
    {
    scan();
    multiply();
    print();
    return 0;
    }
    int scan();
    {
    int i;
    for(i=0;i<3;i++)
    {
    scanf("%d %d %d %d",&metxa[i][0],&metxa[i][1],&metxa[i][2],&metxa[i][3]);
    }
    for(i=0;i<4;i++)
    {
    scanf("%d %d %d",&metxb[i][0],&metxb[i][1],&metxb[i][2]);
    }
    }
    int multiply();
    {
    int i,j;
    for(i=0;i<3;i++)
    {
    for(j=0;j<3;j++)
    {
    resut[i][j]=metxa[i][0]*metxb[0][j]+metxa[i][1]*metxb[1][j]+metxa[i][2]*metxb[2][j]+metxa[i][3]*metxb[3][j];
    }
    }
    }
    int print();
    {
    int i,j;
    for(i=0;i<3;i++)
    {
    for(j=0;j<3;j++)
    {
    printf("%d\t",resut[i][j]);
    }
    printf("\n");
    }
    }
    system("PAUSE");
    return 0;
    }
but I got linker error-undefined reference to scan and multiply methods... why should I get this error?
 
     
    