The correct option is
B 47×8!Suppose 2 objects are to be kept apart in a permutation, there are 2 methods
The "gap method", where these 2 objects are placed in the gaps (incl. ends)
The "subtraction method" [ total permutations - those with the 2 objects together ]
By successively applying these, we can find the number of ways both A′s and B′s are apart, and then place the C′s, as separators, if so needed.
A′s apart or together, B′s apart =6!×7⋅6=6!×42
(a) A′s together, B′s apart =(2×5!)×6⋅5=6!×10
(b) thus both A′s and B′s apart =6!(42−10)=6!×32
(c) also, both A′s and B′s together =6!×4
Now placing the C′s appropriately, remembering that the two are distinct, and that there will be two versions of case (a), we get
6![(2×10)×(2⋅8)+(32×8⋅9)+(2⋅4)]=8!×47