Not clear with recursive destruction of nodes of linked list
Not clear with destructor
@sahazeer123 hey recursive destructor is trah se chal rha hai ki pehle to recursion call hoti jarhi hai tab tk jab tk NULL nhi pahunch jata ,fir wapis ate hue return call destructor call horhi hai isse sare nodes destroy ho jayengi.Hope you get it.
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.