Assigning a structure of one type to structure of another type is an
Answers
Answered by
5
Explanation:
The compiler will generate an assignment operator to assign a variable of the same type. However, even when both type have the same layout, it won't generate an assignment operator for it.
Answered by
0
The Structure is a user proposed data type that represents a collection of data.
- The Structure is a data type.
- The Structure is not a built-in data type.
- The Structure data type is the user creating one.
- A list of variables can be represented by using structure.
- We can assign one type of structure to another type.
- For this assignment, a compiler-generated assignment operator is used.
- Variables of various types can be stored in the structure.
Similar questions