多项选择题

顺序栈s,入栈的元素是e,栈顶是top,栈顶top指示栈顶元素所在位置而不是下一个空位置,则入栈正确的是()。

A.s[top++]=e;
B.s[++top]=e;
C.top++;s[top]=e;
D.s[top]=e;top++;