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

True

False

User Lizzie
by
4.6k 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.

User Elad Weiss
by
3.9k points