feat: add C array and list_node define
This commit is contained in:
parent
0e49f0053a
commit
6b17e50923
@ -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#"
|
||||
|
@ -97,7 +97,11 @@ comments: true
|
||||
=== "C"
|
||||
|
||||
```c title=""
|
||||
|
||||
/* 链表结构体 */
|
||||
typedef struct node {
|
||||
int val;
|
||||
node *next;
|
||||
} list_node;
|
||||
```
|
||||
|
||||
=== "C#"
|
||||
|
Loading…
Reference in New Issue
Block a user