For the pair of equations to have infinitely many solutions, the second equation must be a multiple of the first equation.
The first equation is \(x + y = 5\), and the second equation is \(2x + 2y = k\).
Multiplying the first equation by 2, we get \(2x + 2y = 10\), so for infinitely many solutions, \(k = 10\).
Thus, the correct answer is option (4).