if else statement in c programming questions