0% found this document useful (0 votes)
25 views1 page

Unit 10 Assignment A

This document provides instructions for Assignment A in Unit 10, which asks students to mark 6 statements as true or false about structs in C++. The statements cover topics like the types of members in a struct, returning structs from functions, nested structs, allowed operations on structs, arrays as struct members, and aggregate operations on structs. Students are to submit their answers using a provided link by Sunday for a total of 12 points.

Uploaded by

Tim Williams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views1 page

Unit 10 Assignment A

This document provides instructions for Assignment A in Unit 10, which asks students to mark 6 statements as true or false about structs in C++. The statements cover topics like the types of members in a struct, returning structs from functions, nested structs, allowed operations on structs, arrays as struct members, and aggregate operations on structs. Students are to submit their answers using a provided link by Sunday for a total of 12 points.

Uploaded by

Tim Williams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 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

You might also like