Two symmetric n by n matrices $\displaystyle M,N$ are similar if there exists an invertible n by n matrix $\displaystyle T$ with $\displaystyle N=TMT^t$.

(A) Show that similar matrices have the same rank.
(B) Show that complex matrices of the same rank are similar.