In the operator<< function, obj.A is a pointer to the starting location in memory of the 2D array A. Presumably, we don't want to print this out (its an address). You should instead loop through each element in A... Hint:
osObj << (obj.A)[i][j]
should go inside a loop, assuming that you use the variables i and j to loop over the matrix A.