a) Since space required for structure variables is allocated on stack which is a form of memory that is automatically available when a variable to be used is in scope
b) Structures generally are used to represent user defined data types that consists of small amount of data in them. Hence using stack for declaration of such variables is not a problem
c) All of the mentioned
d) None of the mentioned
Choose the correct statement about structures as to why they are defined as value types but not reference types?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Choose the correct statement about structures as to why they are defined as value types but not reference types?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!