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.
The Answer to the Question
is below this banner.
Can't find a solution anywhere?
NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?
Get the Answers Now!You will get a detailed answer to your question or assignment in the shortest time possible.
Here's the Solution to this Question
a.Allmembersofa struct must beofdifferent types.FALSE
b. Afunctioncannotreturnavalueoftype struct.FALSE
c. Amemberofa struct can be another struct.TRUE
d. Theonlyallowable operationsona structareFalse
assignmentandmemberselection.
e. Anarraycan be amemberofa struct.TRUE
f.InC++,someaggregate operationsareallowedona struct.FALSE
g. Because a struct has a finite numberofcomponents,Falserelational operationsareallowedona struct.