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

push_back
语法:

push_back()将val连接到链表的最后。

测试代码

测试结果

10
0 1 2 3 4 5 6 7 8 9