The question is solved in the book I read in a very odd way as,
$$\frac{2^{99}}{9} = \dfrac{{(2^{3})}^{33}}{2^3-(-1)}$$ Hence by remainder theorem the remainder is $-1$. In questions when remainder is negative than the number is subtracted from numbers like $2^3$ to get a positive number so the answer is $8-{-1}=9$.
I don't know which remainder theorem the book is talking of. I converted the question in mod notation as,
$$2^{99} \bmod 9 = (2^3)^{33} \bmod (2^3 - (-1))$$
But I don't think there is some formula for $a \bmod (c-d)$. Please tell me how to solve these type of questions.