Вы находитесь на странице: 1из 1

Unit 10 Assignment A

Mark the following statements as true or false:


a. All members of a struct must be of different types (2 points)
b. A function cannot return a value of type struct (2 points)
c. A member of a struct can be another struct (2 points)
d. The only allowable operations on a struct are assignment and member selection (2
points)
e. An array can be a member of a struct (2 points)
f. In C++, some aggregate operations are allowed on a struct (2 points)
Submit your assignment using the link above (due on Sunday of this unit; 12 points).
Answers:
a.
b.
c.
d.
e.
f.

True
False
True
False
True
True

Вам также может понравиться