Give the minimum size of each of the following C types assum
Give the minimum size of each of the following C++ types, assuming that char values occupy one byte, short values occupy two bytes, int and float values four bytes, double and long values occupy eight bytes, and pointers occupy four bytes. union u_type {double a [2]; char c[16];};struct sl_type {float *d[2); long e(4J; char f[8], -short *g;}; struct s2_type {sl_type s; u_type u[2); int *h[5];short i; double *j;};
Solution
(a)
(b)
(c)
