Question: 37. The parameter argv in the function main(int argc, char *argv[]) is A. An array of characters B. A string C. An array of pointers
37. The parameter argv in the function main(int argc, char *argv[]) is A. An array of characters B. A string C. An array of pointers to character D. A character pointer E. None of the above 38. Given the following structure struct node { struct node *next; int id; }; Write a code to delete the first node from the linked list. Copy the id from the deleted node to the parameter id void delete(struct node **head, int *id) { } 39. Given the following structure struct node { struct node *next; int id; }; pg. 12 Write a code to inserts a new node as the first node in the list in the linked list and store the inputId in the node. The function should return the pointer to the new node. If there is no memory then the function should return NULL. struct node *insert(struct node **head, int inputId) { }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
