expected formal parameter list, not a type list c语言答:void find(int,int,int,int,int)find函数不传参,直接用全局变量abcde就好了 然后main函数里面也不要定义了,简单改了下 include <stdio.h>void find(int,int,int,int,int);int a,b,c,d,e;void main(){scanf("%d%d%d",&a,&b,&c,&d,&e);find();}void find(){int sum,max;sum=...
(C语言,数据结构)判别一个数是否在序列中,在,就删除,不在,输出NO_百度...答:include<iostream>using namespace std;struct node{ int date; node *next;};typedef node *link;int main(){ int n; int num_[8] = {1,2,3,4,5,6,7,8}; //建立链表 link p,q; link head = new node; head->date = num_[0]; head->next = NULL; p = head; for(int ...