temp->next=n;
by writing this what we are assigning to temp->next is it address of n or data how we can assign by writting it equals to n.
How we are writting this
hello @guptanikhil898
temp->next=n;
this line is assigning address contained by pointer n to the next of temp.
n is pointer so if we write pointer name then that means we are referring to the address that it is containing
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.