the STRANGE THING ABOUT THE PROGRAM IS THAT WHEN WE LEAVE ONLY THE d variable(a char)
in the structure, the structure size is 1 while when we add the char d in the structure
along with other variables, the size of the structure increases by 8 bytes!
Can someone tell me the reason for this strange behavior? Is word boundary thing a possible reason for this? If yes then how?
in the structure, the structure size is 1 while when we add the char d in the structure
along with other variables, the size of the structure increases by 8 bytes!
Can someone tell me the reason for this strange behavior? Is word boundary thing a possible reason for this? If yes then how?
Comment