1 votes 1 votes WE CAN USE STACK TO EVALUATE PREFIX EXPRESSION .THIS STATEMENT IS TRUE OR FALSE IF THEN HOW?? EXPRESSION IS + - * 2 3 5 / ^ 2 3 4 eyeamgj asked Jul 8, 2018 eyeamgj 370 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Similarlly we can do as postfix evalutation In postfix we push an oprend in left side and in infix we push from right side. abhishekmehta4u answered Jul 8, 2018 abhishekmehta4u comment Share Follow See all 2 Comments See all 2 2 Comments reply eyeamgj commented Jul 8, 2018 reply Follow Share Ya actually this is right ...but what I actually observing that when we pop out operand 1 (top) nd operand 2 ....then in prefix evaluation it should be operand1 operator operand 2 nd in case of postfix evaluation it I operand2 operator operand1.... Correct me if i m obersving wrong??? 1 votes 1 votes abhishekmehta4u commented Jul 8, 2018 reply Follow Share You are right 1 votes 1 votes Please log in or register to add a comment.