Reverse linked list using overloading operator-

前端 未结 0 636
没有蜡笔的小新
没有蜡笔的小新 2020-11-30 19:10
struct elem
{
    int inf;
    elem *adr;
    elem(int n, struct elem *p): inf(n),adr(p) {}
};

i have a list. and i need to reverse it

My cod

相关标签:
回答
  • 消灭零回复
提交回复
热议问题