Computer Science, asked by kuldeepsingh5466, 1 month ago

the size of structure and union is same when they contain ??

Answers

Answered by RudrakshaGinwal
1

Answer:

As mentioned in definition Structure do not have shared location for its members so size of Structure is equal or greater than the sum of size of all the data members. On other hand Union does not have separate location for each of its member so its size or equal to the size of largest member among all data members.

Hope This Is Useful Answer!

Answered by anamika8585sharma
0

Answer:

I hope this helps you

Attachments:
Similar questions