Multiple choice

Which keyword is used for defining a structure?

  1. str

  2. st

  3. struct

  4. stt

  5. structure

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A struct in C programming language is a structured (record) type that aggregates a fixed set of labelled objects, possibly of different types, into a single object.