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

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cxz66666 committed Jun 7, 2022
1 parent dbcf694 commit e8c2c73
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 @@ -239,15 +239,15 @@ int main(){
}
~~~

However, we don't support to **access variable from pointer** currently, which means the following code is illegal currently:
In addition, we also support **access variable from pointer**, which means the following code is legal:

~~~c
struct course c;
struct course *ptr = &c;
char *t = ptr->name; // illegal!
char *t = ptr->name;
~~~

And also, we don't support **struct initial list**
But, we don't support **struct initial list** now!

~~~c
struct course c = {"123",123,....} // illegal!
Expand Down

0 comments on commit e8c2c73

Please sign in to comment.