Everything About ___
Live briefing

Everything about Struct (C programming language)

C keyword for defining a structured data type

In the C programming language, struct is the keyword used to define a composite, a.k.a. record, data type – a named set of values that occupy a block of memory. It allows for the different values to be accessed via a single identifier, often a pointer. A struct can contain other data types, so it is used for mixed-data-type records. For example, a bank customer struct might contain fields for the customer's name, address, telephone number, and balance. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Struct (C programming language)A 5-minute orientation
  2. Pick up a classic book: C++ ProgrammingThe most-reprinted book on the subject
  3. Read the landmark paper: C Programming: Structured Programming LanguageCited 0 times
  4. Go sideways: C data typesA closely related topic
  5. Go sideways: Union typeA closely related topic

đź“– Definitions

No dictionary entry for this exact phrase.

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics