This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Size of a structure

Hi,
Question about sizeof() function :

typedef struct _TABLE_1
{
	unsigned char Table[10];
	unsigned long ;
	unsigned long ;
	unsigned long ;
	unsigned char ;
	unsigned char ;
	unsigned char ;
} TABLE_1,*PTR_TABLE_1;

typedef struct _TABLE_2
{
	unsigned char ;
	unsigned char ;
	unsigned char ;
} TABLE_2,*PTR_TABLE_2;

sizeof(TABLE_1) = 26
sizeof(TABLE_2) = 3


I don't understand why 26 bytes for TABLE_1 instead of 25 bytes ????


Thank you in advance,

Regards