I've seen many example of linked list in which double pointer is used in a function to add the node in list
Pointer is use to hold the memory location of another variable. Pointer point to location in list.Code:void addNodetoList(struct Node **node, int x) { //additional code // }
I don't understand reason why double pointer is passed in function Can somebody help me why double pointer is passed in function