2025-02-06

This commit is contained in:
2025-02-06 22:43:19 +08:00
parent 9480e81242
commit af0d9cdab6
82 changed files with 12564 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#include <stdio.h>
/*
定义结构体类型
*/
typedef struct Node{
int data;
struct Node * pNext;
}Node, *pNode;
int main(){
Node node;
pNode p;
p = &node;
node.data = 10;
node.pNext = NULL;
printf("%d\n", p->data);
return 0;
}