# nvcc

posted by
**fast**
.

The sizes of two matrices A and B are given. Find the sizes of the product AB and the product BA, if the products are defined.

A is 4 × 2, B is 2 × 4.

posted by
**fast**
.

The sizes of two matrices A and B are given. Find the sizes of the product AB and the product BA, if the products are defined.

A is 4 × 2, B is 2 × 4.