The answer could be correct in a different ring arithmetic.<p>There are many implicit assumptions, when asking such questions without further specifications.<p>Your friend could have either asked for clarifications or note that there could be cases, where the answer is notionally correct.