Starting with the given equation \( xy + yz + zx = 0 \), we need to simplify \( (x + y + z)^2 \).
Expanding \( (x + y + z)^2 \) gives us:
\[
(x + y + z)^2 = x^2 + y^2 + z^2 + 2(xy + yz + zx)
\]
Since we are given that \( xy + yz + zx = 0 \), we substitute that into the equation, resulting in:
\[
(x + y + z)^2 = x^2 + y^2 + z^2 + 2(0) = x^2 + y^2 + z^2
\]
Thus, the correct answer is \( x^2 + y^2 + z^2 \), corresponding to option (C).