2025-02-15

This commit is contained in:
2025-02-15 01:53:05 +08:00
parent fabe2641da
commit bc7fe2dca2
6 changed files with 0 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;
}