Skip to main content
All lessons

Structs

8 min · C

Group related values under named fields — C's way to bundle data.

C · Structs0/5 cleared

Enemy 1 of 5

A struct groups named fields together. Define it with struct Name { ... }, then access fields with dot notation.

You
Goblin Glitch

Loading editor...

Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Ada