Learn C Programming

Lesson 4 of 9 ¡ Structures, Unions and Enums

Module 12 ¡ Structures, Unions and Enums

typedef, Nested Structs and Organising a Program

Free with an accountReading

Amara's school records program began as forty lines. It is now two hundred, and she scrolls more than she types. Every line that mentions a student says struct student. Her functions sit in the order she happened to write them.

Sign in to read

This lesson is free, with an account

An account costs nothing and opens every lesson in this track that is not marked Pro, on every device you read on.

What is inside typedef, Nested Structs and Organising a Program

  1. typedef: a second name for a type
  2. A struct inside a struct
  3. Functions named type_verb
  4. A program laid out in sections
  5. What a header file would hold