If order of matrix A is m x n and order of B is n x p, then order of AB is:

p x m

n x p

m x p

m x n