head=createlist(); head=deleteeven(head); printlist(head); system("pause");return0; }/*你的代码将被嵌在这里*/structListNode *createlist() {structListNode *head = NULL, *tail = NULL, *p;intnum; scanf("%d", &num);while(num != -1) { p= (structListNode*)malloc(sizeof(structList...
实验11-2-4 删除单链表偶数节点 (20 分) 1. 题目摘自 https://pintia.cn/problem-sets/13/problems/604 2. 题目内容 本题要求实现两个函数,分别将读入的数据存储为单链表、将链表中偶数值的结点删除。链表结点定义如下: struct ListNode { int data; struct ListNode *next; }; 函数接口定义: struct List...