Exam 13: Structures

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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 NULL pointer has no numerical value.

(True/False)
5.0/5
(44)

Unions can be members of structures or arrays.

(True/False)
4.8/5
(41)

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
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)