asked 172k views
5 votes
A struct can contain members with varying data types.

True

False

asked
User Lizzie
by
8.2k points

1 Answer

3 votes

Answer: True

Explanation:

Yes, the given statement are true that a struct contain various member with varying data type and the structure variable act as argument in the function.

The function cannot modified the member in the structure variable.

And the structure variable create different data types which can be used to group the given data. As, it is basically used to store the different types of data.

answered
User Elad Weiss
by
7.0k points