Exicom interview question

c programming basic questions related to else if statements