- 2069 Chaitra · 2 marks
Advantage of using structure
Short answer
It groups mixed-type data of one entity under a single name; allows whole-record assignment, function arguments, and returns; supports arrays of records for files/databases; improves program organization and forms the basis of data structures like linked lists.
What is the advantage of using structure?
- It groups data of different types (name, roll, marks) of one entity under a single name.
- A whole record can be assigned, passed to a function and returned in one step.
- An array of structures can store many records, which is useful for files and databases.
- It makes the program more organised and readable, and is the base of data structures such as linked lists.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Tensile tests; split test advantage; h/d ratio · Concrete Technology and Masonry Structure, chapter 5
- Splitting tensile test and its advantage · Concrete Technology and Masonry Structure, chapter 5