Let the maximum marks of the exam be \(M\).
According to the problem, X got 98 marks, which is 56% of the total marks.
We can express this as:
$$ 56 \text{ of } M = 98 $$
$$ \frac{56}{100} \times M = 98 $$
To find the maximum marks \(M\), we can rearrange the equation:
$$ M = \frac{98 \times 100}{56} $$
$$ M = \frac{9800}{56} $$
Now, we can simplify the fraction:
Divide both numerator and denominator by their greatest common divisor. We can start by dividing by 2:
$$ M = \frac{4900}{28} $$
Divide by 2 again:
$$ M = \frac{2450}{14} $$
Divide by 2 again:
$$ M = \frac{1225}{7} $$
Now, divide 1225 by 7:
$$ M = 175 $$
So, the maximum marks of the exam are 175.
Therefore, the correct option is (B)