Correct option is B
(S1) is incorrect because it mixes tenses inappropriately. The teacher's inquiry is reported in the past tense ("enquired"), so the verb that follows should also be in a past tense form for consistency in reported speech. The correct sentence would be "The teacher enquired whether there was any problem with the question paper."
· (S2) is correctly phrased in the past tense, appropriate for reported speech. It accurately conveys a past inquiry about the possession of pets, using the correct tense "had" to match the reporting verb "asked."
· Thus, the correct response is that (S1) is wrong due to a tense consistency error, while (S2) is correctly structured.