Question: Consider the following structure declarations: struct st1 { short a[7]; char c[7]; }; struct st2 { }; int i[2]; short a[5]; char c[2]; struct

Consider the following structure declarations: struct st1 { short a[7]; char c[7]; 

Consider the following structure declarations: struct st1 { short a[7]; char c[7]; }; struct st2 { }; int i[2]; short a[5]; char c[2]; struct st3 { short a[5]; int i[2]; char c[2]; }; What is the total size of the structures st1, st2 and st3?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!