Step 1: Use one fcc cell
An fcc cell has 4 A atoms, 4 octahedral voids and 8 tetrahedral voids.
Step 2: Count B
B atoms $=4\ (\text{octahedral})+\dfrac{8}{2}\ (\text{tetrahedral})=8$.
Step 3: Ratio
A : B $=4:8=1:2$, so $\text{AB}_{2}$, option C.
Final Answer:
The ratio of A to B is 1 to 2, so the formula is AB2.
\[ \boxed{\text{(C) }\text{AB}_{2}} \]