If A is a matrix or order m×n and B is a matrix such that AB^T and B^TA are both defined, then the order of matrix B is (a) mxn (b) n×n (c) nxm (d) mxn