how does write a function that creates a new node for a linked list of book records.
Suppose the function name is:
The function performs the following actions.Code:struct bookRecord* createNode(char* title, char isbn[16], int year);
Creates a new node of type struct bookRecord.
Assigns the parameter title to the field bookTitle of the new node.
Assigns the parameter isbn to the field isbn of the new node.
Assigns the parameter year to the field year of the new node.
Make this node the end node.