-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lecture 150 - Generating structures part 2
- Loading branch information
1 parent
e363aa1
commit bb908ff
Showing
3 changed files
with
51 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,11 @@ struct dog | |
char kk; | ||
}; | ||
|
||
struct dog a; | ||
|
||
int main() | ||
{ | ||
int e; | ||
a.kk = 10; | ||
struct dog a; | ||
struct dog b; | ||
a = b; | ||
|
||
} |