Yesterday i learned what padding is, i know it happens in structures but iīve also realized it happens when you declare variables that donīt have the same size, for example:
int a;
char b;
int c;
I understand why this happens, and i know that you can activate #pragma pack() to disable padding in structures; just because Iīm curious, can you eliminate padding with how all variables are allocated?