Exam 13: Structures
Exam 1: Preliminaries51 Questions
Exam 2: Problem Solving Using C++52 Questions
Exam 3: Assignment, Formatting, and Interactive52 Questions
Exam 4: Selection Structures51 Questions
Exam 5: Repetition Statements50 Questions
Exam 6: Modularity Using Functions50 Questions
Exam 7: Arrays50 Questions
Exam 8: Io Streams and Data Files50 Questions
Exam 9: Completing the Basics50 Questions
Exam 10: Pointers50 Questions
Exam 11: Introduction to Classes50 Questions
Exam 12: Adding Functionality to Your Classes50 Questions
Exam 13: Structures50 Questions
Exam 14: Numerical Methods50 Questions
Select questions type
In practice, most structure handling functions get direct access to a structure by receiving a structure reference or ____________________.
(Short Answer)
4.9/5
(37)
The ____ operator restores a block of storage to the computer at runtime.
(Multiple Choice)
4.9/5
(34)
Structure ____________________ can be any valid C++ data type.
(Short Answer)
4.8/5
(35)
By convention, the first letter of a user-selected data type name is lowercase.
(True/False)
4.7/5
(39)
A(n) ____ is a data type that reserves the same area in memory for two or more variables that can be different data types.
(Multiple Choice)
4.8/5
(35)
A structure is a(n) ____________________ data structure, which means that each of its components can be of different data types.
(Short Answer)
4.8/5
(35)
Assuming Employee is an already declared structure, the function definition calcNet(Employee *pt) declares the pt parameter as a(n) ____ to a structure of type Employee .
(Multiple Choice)
4.8/5
(30)
Structure members can be passed to a function in the same manner as any ____________________ variable.
(Short Answer)
4.8/5
(37)
Both arrays and structures are ____________________ data types.
(Short Answer)
4.8/5
(39)
The NULL pointer value, like its end-of-string counterpart, has a numerical value of ____.
(Multiple Choice)
4.9/5
(38)
Adding a structure to an array of structures requires shifting all ____________________ below the addition down to make room for the new entry.
(Short Answer)
4.8/5
(28)
Structures, arrays, and ____________________ can be members of unions.
(Short Answer)
4.8/5
(37)
In the expression ____, the address in pt is incremented before the hours member is accessed.
(Multiple Choice)
4.9/5
(31)
Declaring a structure requires listing the data ____, data names, and arrangement of data items.
(Multiple Choice)
4.9/5
(36)
As with all external and static variables, in the absence of explicit initializers, the numeric elements of static and external arrays or structures are initialized to ____.
(Multiple Choice)
4.7/5
(41)
The member operator, . , has a(n) ____________________ precedence compared to the indirection operator * .
(Short Answer)
4.9/5
(31)
The only argument delete requires is the ____ of a storage block that was allocated dynamically.
(Multiple Choice)
4.8/5
(29)
The ____ operator reserves the number of bytes required by the requested data type.
(Multiple Choice)
4.8/5
(35)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)