Stack栈empty()函数运用实例

empty
语法:

empty()函数返回stack是否为空,空返回真。

测试代码

测试结果

Si栈是空的