Multiple choice

Which of the following is a user defined data type used in C programming language?

  1. int

  2. float

  3. double

  4. char

  5. struct

Reveal answer Fill a bubble to check yourself
E 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. It is a user defined data type.