feat: add C array and list_node define

This commit is contained in:
Guanngxu 2023-01-06 22:55:16 +08:00
parent 0e49f0053a
commit 6b17e50923
2 changed files with 7 additions and 2 deletions

View File

@ -70,7 +70,8 @@ comments: true
=== "C"
```c title="array.c"
int arr[5] = {0}; // { 0, 0, 0, 0, 0 }
int nums[5] = { 1, 3, 2, 5, 4 };
```
=== "C#"

View File

@ -97,7 +97,11 @@ comments: true
=== "C"
```c title=""
/* 链表结构体 */
typedef struct node {
int val;
node *next;
} list_node;
```
=== "C#"