Question: What is the difference between Structure and Union? Group of answer choices Structure need memory on compile time, Union do not need memory at compile
What is the difference between Structure and Union?
Group of answer choices
Structure need memory on compile time, Union do not need memory at compile time
They cannot be compared
No difference
Union variables share memory assigned based on largest variable. While structure variable has separate memory allocation.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
