adplus-dvertising
frame-decoration

Question

Number of bytes in memory taken by the below structure is

#include <stdio.h>
struct test
{
  int k;
  char c;
};

a.

Multiple of integer size

b.

Integer size+character size

c.

Depends on the platform

d.

Multiple of word size

Answer: (a).Multiple of integer size

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Number of bytes in memory taken by the below structure is