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

1 thought on “Choose the correct statement about structures as to why they are defined as value types but not reference types?”

Leave a Comment