what are structure variables? explain how to declare and initialize structure variable
Answers
Answered by
0
Answer:
Declaring structure variable using struct keyword.
1. <data type> variables;
2. In structure, data type is <struct name>. So, the declaration will be.
3. <struct name> variables;
4. We can also change the value of structure members using dot (.) operator or member access operator.
Similar questions