...
In our code, you’ll notice that we put the keyword typedef
in front of the struct
. This is so every time we create a variable of type Dog, we don’t have to put struct
in front of it and we can access it as shown below.
...
...
In our code, you’ll notice that we put the keyword typedef
in front of the struct
. This is so every time we create a variable of type Dog, we don’t have to put struct
in front of it and we can access it as shown below.
...