hai, i have developed a c-code to push integers into a stack (an array). in the program there are three inputs which has to be given through keyboard. the inputs are "choice", "option","S_R_NO" and "i" all are defined as "int". now when the inputs given are int type the program behaviour is as required. but when the input given are char type the program is executing infinite loop.i could not understand this behaviour and i am unable to start. the code is developed on turbo-c and it is executiable. can any one help me in finnding the bug and tell me the better way of doing.