Menu

[Solved]Consider Following Structure Declarations Struct St1 Short Al7 Char C 7 Struct St2 Int 2 S Q37171284

Consider the following structure declarations struct st1 I short aL7]; char c[7]; struct st2 int i [2]; short a[5] char c[2];

Consider the following structure declarations struct st1 I short aL7]; 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? O 21, 20 and 20 O 22, 24 and 24 O 22, 20 and 24 O 24, 20 and 24 O 24, 20 and 20 Show transcribed image text Consider the following structure declarations struct st1 I short aL7]; 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? O 21, 20 and 20 O 22, 24 and 24 O 22, 20 and 24 O 24, 20 and 24 O 24, 20 and 20

Expert Answer


Answer to Consider the following structure declarations struct st1 I short aL7]; char c[7]; struct st2 int i [2]; short a[5] char … . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *