C Program to check whether two given lists are containing the same data
#include #include struct node { int num; struct node *next; }; void feedmember(struct node **); int compare (struct node *, struct node *); void release(struct node **); int main() {…