Agree, this isn't a good list for troubleshooting your syntax errors.

But I'd like to suggest ##c++-basic on Freenode. You might get answers quicker than stack overflow.


--
Ryan P. Nicholl
Tel: (678)-358-7765
Tox: 52B3A61CDAF88BCC854F568933F071E3530600CDBA3D5354AADC9AD179575D68021AE959719D
-------- Original Message --------
On Jan 26, 2021, 11:33, Ville Voutilainen via Std-Proposals < std-proposals@lists.isocpp.org> wrote:

On Tue, 26 Jan 2021 at 18:17, Shivansh Bhardwaj via Std-Proposals
<std-proposals@lists.isocpp.org> wrote:
> Now I am writing 2 codes for "reversing the singly linked list" function : One that is accepted and other one that is showing error for no reason .

This is not a forum for programming questions, ask on stackoverflow
instead. Your second function has multiple bugs in it.
--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals