In a linear algebra book, I've found a corollary that says: If $A\in\Bbb C^{n\times n}$ and $λ_1,...,λ_n$ eigenvalues of $A$ (not necessarily distinct), then $λ_1λ_2...λ_n=detA$, and $λ_1+...+λ_n=TrA$
Does this corollary also hold for $A\in \Bbb R^{n\times n}$ if and only if $A$ has exactly $n$ eigenvalues (not necessarily distinct)? What conditions must apply for $A$ for this corollary to hold?