摘要:
//链表插入#include #include typedef int datatype;typedef struct node{ datatype data; struct node *next;}linknode, *plink;void init_link(plink *pH)//初始化{ *pH = (plink)malloc(sizeof(linknode));//申请空间 (*pH)->next = NULL;}void link_sort(plink pH)//排序{ plink r; plink q; plink u; plink... 阅读全文
摘要:
//求输入x[]求修改后的x[];#include #include void *bbb(int *p1){ int i = 0; while(i#include int *aaa(int a[]){ int i = 0 ; while(i#include int aaa(int *P){ int i = 0; while(i<4) { *P+++=1; i++; }}int main(void){ int *px; int a[4]={1,2,3,4} px=aaa(a); int i = 0; while(i<4) { printf("%d\t",a[i]) 阅读全文