When defining a structure in C, which keyword is used?

  • class
  • define
  • struct
  • type
In C programming, the keyword "struct" is used to define a structure. The "struct" keyword is followed by the structure name, and within the curly braces, you define the structure members or fields.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *