Linked list ( passing parameter)

Please explain the difference between passing nodehead and passing node&head as the parameter.

Run this code and see the difference in memory address in both function
code Link : https://ide.codingblocks.com/s/78737

After that see this memory Block Diagram
Diagram Link : https://drive.google.com/open?id=1G3WCcaMkBJwXkQ_8ChC9YibLQy5fjP-X

1 Like

@samriddhi.srivastava2017 hey Samriddhi, if your query is resolved. Please mark this doubt as resolved and rate me on the basis of your experience or if you have any query then tell me, I am happy to help you out.

Rating option is just below where you mark this doubt as resolved.

1 Like

Thank You sir. the solution was helpful.

1 Like