The correct option is C Both Assertion and Reason are true and Reason is the correct explanation of Assertion
Small sized Be and Mg atoms have high ionization energies. Hence, the energy of flame is not sufficient to excite their electrons. Thus, Be and Mg do not produce colour in flame.