how can i translate this to C program?
FOR each character (say ch) in the valid expression DO
if ch is a digit
if stack is not full
number = ch-48
push the character's number into the stack
else
print stack overflow message and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.