101 Advanced Data Structures using CAll queries, discussions, updates and clarifications regarding Advanced Data Structures using C should be posted here.
I am having an issue with the createPriorityQueue function, where the createPriorityQueue function is running successfully, but as soon as I call the enque, the output there comes as argument passed in enqueue is null.
It appears that after creating the priority queue, the generic pointer is not being updated. Therefore, when you call enqueue(), it shows that the argument passed is NULL. Ensure that when you call createPriorityQueue() function, you capture and use the updated generic pointer returned by the createPriorityQueue() function to avoid this issue.