what if we dont use cin, cout how will we take head as input
Reverse a linked list
Hello @apoorvsin it is just the syntax which you have to use cin for taking the data values as input.
and cout for displaying them as output.
if you have ay further doubt you can ask here:
Happy Learning!!
so do we have to use operator overloading everytime we use cin and cout n this case?
so do we have to use operator overloading everytime we use cin and cout in this case?
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.