154k views
3 votes
You can assign the value of one struct variable to another struct variable of ____ type(s)

1 Answer

1 vote
You can assign the value of one struct variable to another struct variable of the same type.

It is like assigning regular variables. You cannot assign int a to char b. They are two different types and have different size memory location. This is true for struct variables.
User Abel Morelos
by
8.0k points