#include // For a good time, try running this code with: // 1) Just 'a' defined in the struct below, // 2) 'a' and 'b', // 3) 'a', 'b', and 'c' // 4) 'a', then 'c', followed by 'b'. // What is the pattern? // Try again on another architecture. struct foo { char a; long c; char b; }; int main() { // Print out the size of the struct in bytes. printf("sizeof(a) == %d\n", sizeof(struct foo)); }