在上下文及头文件均正常的情况下,下列代码的运行结果是()
int main() {
Stack S;
Char x, y;
InitStack(S);
x = 'n';
y = 'g';
Push(S, x);
Push(S, 'i');
Push(S, y);
Pop(S, x);
Push(S, 'r');
Push(S, 't');
Push(S, x);
Pop(S, x);
Push(S, 's');
while (!StackEmpty(S)) {
Pop(S, y);
printf(y);
};
printf(x);
}

