Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Summary

Section 21.2 Structure Definitions

  • Keyword struct (p. 793) begins every structure definition. Between the braces of the structure definition are the structure member declarations.

  • A structure definition creates a new data type (p. 793) that can be used to declare variables.

Section 21.3 typedef

  • Creating a new type name with typedef (p. 794) does not create a new type; it creates a name that’s synonymous with a type defined previously.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial