Merge pull request #1832 from Re1own/707_C_grammer_error_fixed

707 c grammer error fixed
This commit is contained in:
程序员Carl
2023-01-03 10:03:13 +08:00
committed by GitHub

View File

@ -157,7 +157,7 @@ private:
## 其他语言版本
C:
```C
typedef struct {
typedef struct MyLinkedList {
int val;
struct MyLinkedList* next;
}MyLinkedList;
@ -233,7 +233,7 @@ void myLinkedListDeleteAtIndex(MyLinkedList* obj, int index) {
MyLinkedList *tmp = obj->next;
if (tmp != NULL){
obj->next = tmp->next;
free(tmp)
free(tmp);
}
return;
}