How to multiply a 4x4 matrix with a 1x3 matrix in C?
<p>If you already have a set 4x4 matrix.
Ex.</p>

<pre><code>Matrix A = [1 2 3 4;
            5 6 7 8;`
            9 10 11 12;
            13 14 15 16]

Matrix B = [1, 2, 3]
</code></pre>

<p>How would you convert Matrix A into C coding? Also what would there positions be in code? For position I mean: if I'm trying to multiply the first row into matrix B, can I do this?</p>

<pre><code>A[1][0]*B[0]+A[1][1]*B[1]+A[1][2]*B[2]
</code></pre>

<p>Outline code:</p>

<pre><code>main(){

    int matrixA[4][4] = [{"1","2","3","4"};
                        {"5","6","7","8"};
                        {"9","10","11","12"};
                        {"13","14","15","16"}];
    printf(matrix A);
    return 0;
}
</code></pre>