(c) 2856
Ratio of boys and girls = 12:5
Let x be any number such that the number of boys and girls are 12x and 5x, respectively.
Number of girls = 840
5x = 840
⇒ x = 840 = 168
5
Number of boys = 12x = 12 × 168 = 2016
Number of girls = 840
Total strength of the school = 2016 + 840 = 2856