The correct option is C Both (a) and (b)
CaC2+2H2O→H−C≡C−H+Ca(OH)2
This is the industrial method of preparation of ethyne.
Vicinal dihalides on treatment with alcoholic KOH undergo dehydrohalogenation. One molecule of HX is eliminated to form alkenyl halide which on treatment with sodamide gives alkyne.
So, the correct answer will be option (c).