Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
doc: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
RalXYZ committed Jun 6, 2022
1 parent 6aa7453 commit dbcf694
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dbcf694

Please sign in to comment.