Let $A$ and $B$ are real, square matrices with the same dimension. We know that $\text{rank } A = 1$ and we know the eigenvalues of $A$. Furthermore, we know that $B$ has only zeros in the diagonal, but we don't know anything else about $B$.
Can we say something about the eigenvalues of $A+B$ ?
Or in general, can we say anything about the eigenvalues of sum of two arbitrary non-symmetric matrices?
We note that generally we have that:
$$\operatorname{Tr}(\mathbf{M})=\sum_{i=1}^{n}\lambda_{i},$$
Where $\lambda_{i}$ is the $i$th eigenvalue of $\mathbf{M}$ (a proof can be found here). Therefore in your case we have:
$$\operatorname{Tr}(\mathbf{A}+\mathbf{B})=\sum_{i=1}^{n}\lambda_{i}$$
Where $\lambda_{i}$ is the $i$th eigenvalue of $\mathbf{A}$. This is the case because the sum of eigenvalues of $\mathbf{B}$ must be $0$ as $\operatorname{Tr}(\mathbf{B})=0$ as we are told.