List链表front()函数运用实例

front
语法:

front()函数返回一个引用,指向链表的第一个元素。

测试代码

测试结果

9 8 7 6 5 4 3 2 1 0
0