For the following questions, assume that the size of an 'int' is 4 bytes, the size of a 'char' is one byte, the size of a 'float' is 4 bytes and the size of a 'double' is 8 bytes. Write the size of the following expressions:
struct my_coord {
int x;
int y;
double altitude;
};
struct my_line {
struct my_coord first;
struct my_coord second;
char name[10];
};
struct my_coord var;
struct my_coord array[3];
struct my_line one_line;
struct my_line two_lines[2];
sizeof(struct my_coord) = _______
sizeof(var). = _______
sizeof(array[1]) = _______
sizeof(array[2]) = _______
sizeof(array) = _______
sizeof(struct my_line) = _______
sizeof(two_lines) = _______
sizeof(one_line) = _______