0 0 votes The correct push function is a)S->arr[S->top++]=data b)S->arr[++S->top]=data c)S->arr[++(S->top)]=data d)none of the above Plz can anyone explain and also help me understand how stack is implemented using structure here Programming in C + – Shivangi Verma 5.7k views answer comment Share Follow Print See 1 comment 1 1 comment reply santhoshdevulapally commented Dec 16, 2016 reply Follow flag initially top of the stack =-1. so first increment top variable then stroe the data . in option C,it is correct. in option B it increments the address of stack not top value because (++ is unary operator it is more precedence than ->) 0 0 replyShare Please log in or register to add a comment.