Flashcards in Chapter 11 Deck (12)
What is a primitive data type?
A data type that is defined as a basic part of the language (ex: bool, int, long int, etc.)
Does a structure declaration cause a structure variable to be created?
no, struct declaration does not allocate memory or create variables
Before a structure variable can be used, the structure must be ______.
The ______ is the name of a structure.
The variables declared inside a structure declaration are called ______.
A(n) ______ is required after the closing brace of a structure declaration
In the definition of a structure variable, the ______ is placed before the variable name, just like the data type of a regular variable is placed before its name.
The ______ operator allows you to access structure members.
A semicolon is required after the closing brace of a structure declaration
A structure declaration does not define a variable
When a function returns a structure, it is always necessary for the function to have a local structure variable to hold the member values that are to be returned