Answer to Question #302410 in C++ for Imzi

Question #302410

Mark the following statements as true or false.



a. All members of a struct must be of different types.



b. A function cannot return a value of type struct.



c. A member of a struct can be another struct.



d. The only allowable operations on a struct are assignment and member selection.



e. An array can be a member of a struct.



f. In C++, some aggregate operations are allowed on a struct.



g. Because a struct has a finite number of components, relational operations are



allowed on a struct.




1
Expert's answer
2022-02-25T03:39:49-0500


a. 	All members of a struct must be of different types.				FALSE
b. 	A function cannot return a value of type struct.				FALSE
c. 	A member of a struct can be another struct.						TRUE
d. 	The only allowable operations on a struct are 					False
	assignment and member selection.
e. 	An array can be a member of a struct.							TRUE
f. 	In C++, some aggregate operations are allowed on a struct.		FALSE
g. 	Because a struct has a finite number of components, 			False
	relational operations are allowed on a struct.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog