Chapter 11 Flashcards
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 ______.
declared
The ______ is the name of a structure.
tag
The variables declared inside a structure declaration are called ______.
members
A(n) ______ is required after the closing brace of a structure declaration
semicolon
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.
structure tag
The ______ operator allows you to access structure members.
dot
[T/F]
A semicolon is required after the closing brace of a structure declaration
true
[T/F]
A structure declaration does not define a variable
true
[T/F]
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
true
[T/F]
The indirection operator has a higher precedence than the dot operator
False