Chapter

Alternative Declarations

From ComputerScienceOne by Dr Chris Bourke

Concepts

  1. How are structures defined and named in C?

    "The elements of the structure (also referred to as components or members) are included inside curly brackets, delimited using semicolons (in contrast to an enumerated type, which is a list, these ele

  2. What is the alternative way to declare a structure in C?

    "In some examples and code bases you may find an alternative way of declaring a structure that looks like the following.\n\nstruct Student {\n\n...\n\n};\n\nThis syntax omits the keyword typedef and p

Alternative Declarations | ComputerScienceOne | Bifalgorithm | Bifalgorithm