If A and B are two matrices such that A + B and AB are both defined, then
Both matrices are of same order for A + B to be defined. Now let both are of order m × n. But AB is defined only
when number of columns in A is same as number of rows in B. So both are square matrices of same order.