Choose the correct statement about structures as to why they are defined as value types but not reference types?
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
Answer:A
Choose the correct statement about structures as to why they are defined as value types but not reference types?
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