From dbcf694a7ddb5fd91d9d40e1b3510d3aedf68251 Mon Sep 17 00:00:00 2001 From: RalXYZ Date: Mon, 6 Jun 2022 19:52:13 +0800 Subject: [PATCH] doc: fix typo --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 681c666..2ab1892 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ You can use arrays and pointers as you like, since we already support most of ar ~~~c int array[10][10]; - int **ptr = array; //inlegal!! + int **ptr = array; // illegal!! ~~~ - Best Practices for multidimensional pointer @@ -244,13 +244,13 @@ However, we don't support to **access variable from pointer** currently, which m ~~~c struct course c; struct course *ptr = &c; -char *t = ptr->name; //inlegal! Don't support +char *t = ptr->name; // illegal! ~~~ And also, we don't support **struct initial list** ~~~c -struct course c = {"123",123,....}//inlegal! Don't support +struct course c = {"123",123,....} // illegal! ~~~ ### Type Cast