Exam 11: Structured Data

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

This is required after the closing brace of the structure declaration.

(Multiple Choice)
4.8/5
(35)

Before a structure can be used, it must be ________.

(Multiple Choice)
4.9/5
(37)

This is like a structure, except all members occupy the same memory area.

(Multiple Choice)
4.7/5
(40)

In C++ 11 you can use a new type of enum, known as a(n)________, (also known as an enum class)to have multiple enumerators with the same name, within the same scope.

(Multiple Choice)
4.8/5
(40)

When a structure is passed ________ to a function, its members are not copied.

(Multiple Choice)
4.8/5
(28)

This allows you to access structure members.

(Multiple Choice)
4.9/5
(38)

Which of the following statements outputs the value of the gpa member of element 1 of the student array?

(Multiple Choice)
4.8/5
(42)

A declaration for an enumerated type begins with the ________ key word.

(Multiple Choice)
4.9/5
(35)

A structure pointer contains ________.

(Multiple Choice)
4.7/5
(34)

The following union declaration appears on a system uses 4-byte ints and 8-byte doubles. The following union declaration appears on a system uses 4-byte ints and 8-byte doubles.

(True/False)
4.8/5
(42)

Look at the following structure declaration. struct Look at the following structure declaration. struct   In this declaration, idNum is: In this declaration, idNum is:

(Multiple Choice)
4.9/5
(31)

You cannot directly assign an integer value to an enum variable.

(True/False)
4.9/5
(37)

Look at the following declaration.Look at the following declaration.  In memory, what value will the MAPLE enumerator be stored as? In memory, what value will the MAPLE enumerator be stored as?

(Multiple Choice)
4.9/5
(37)
Showing 41 - 53 of 53
close modal

Filters

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