What is the difference when I write in program mynode * head; add_node (&head, 10); add_node( struct node ** head, into value); To this

icon
Related questions
Question
What is the difference when I write in program
mynode * head;
add_node (&head, 10);
add_node struct node ** head, into value);
To this
mynode *head;
add_node (head, 10);
add_node struct node* head, into value)
Which is the correct way of writing?
Transcribed Image Text:What is the difference when I write in program mynode * head; add_node (&head, 10); add_node struct node ** head, into value); To this mynode *head; add_node (head, 10); add_node struct node* head, into value) Which is the correct way of writing?
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer