单选题 Which of the following is false?

A、 Structure member names throughout a program must be unique.
B、 Attempting to refer to a member of a structure by using only the member’s name is an error.
C、 Inserting a space between the - and > of operator -> is an error.
D、 The dot operator (.) is the structure member operator.
下载APP答题
由4l***cs提供 分享 举报 纠错

相关试题

单选题 Two structure variables with the same member values

A、always compare equally.
B、never compare equally.
C、sometimes compare equally.
D、only compare equally if both structure variables contain holes.

单选题 ________ may contain different data types.

A、structures
B、arrays
C、both a and b
D、none of these

单选题 Structures may contain variables of many different data types—in contrast to ___________ that contain only elements of the same data type.

A、files
B、arrays
C、constants
D、functions

单选题 A structure containing a member that’s a pointer to the same structure type is referred to as a __________ structure.

A、self-referential
B、self-describing
C、self-recursive
D、self- elemental

单选题 What does the deck[52] array contain in the following statement?
struct card
A, deck[52], *cPtr;

A、card structure elements
B、a structure elements
C、*cPtr elements
D、none of these

单选题 __________ are collections of related variables—sometimes referred to as aggregates—under one name.

A、Members
B、Enumerations
C、Structures
D、Files

单选题 Which statement is false?

A、Structures are derived data types.
B、Each structure definition must end with a semicolon.
C、A structure can contain an instance of itself.
D、Structures may not be compared using operators ==and !=.

单选题 Keyword __________ introduces the structure definition.

A、structure
B、str
C、strdef
D、struct