1)it will never go into that else condition, at the end if we not enter anything (blank)hen it will go into that condition
2)because we take c as getchar() so it is character not int (c = getchar ()) if we do printf("% c", pop ()); then it will print character and if we do printf("% d", pop ()); then it will print ascii value of that character