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
World Languages,
6 days ago
Social Sciences,
6 days ago
Economy,
12 days ago
Math,
8 months ago
Chemistry,
8 months ago