Thank you very much. This is exactly what i needed. Just one more question how to adjust the stride for
`number += mult1Ptr[k * mult1Ptr_stride + j];         // mult1[k][j]

dummyPtr[temp * dummyPtr_stride + j] = number;`   // dummy[temp][j] = number

As i don’t get the same answer for it as compared to the original loop.
(I am not very efficient in using pointers)