Computer Science 101 Quiz K Name ______________________ struct pix_type { unsigned char r; unsigned char g; unsigned char b; }; struct pix_type *pptr; struct pix_type p; 1. Given the definitions above write the value of each of the following: ____ a. sizeof(pptr) ____ c. sizeof(struct pix_type *) ____ b. sizeof(*pptr) ____ d. sizeof(p) 2. Given the following structure definition, which of the following is syntactically correct. struct new a. v[1].a[1] = 1; b. v[0].b[1] = 1; { int a; c. v.b[1] = 1.5; d. v.a[1] = 1.5; float b[2]; }; struct new v[3]; 3. Given the following structure definition, which of the following is syntactically correct. struct new a. v[1].a = 1; b. v.a[1] = 1; { int a[2]; c. v.b[1] = 1.5; d. v[1].b = 1.5; float b; }; struct new v; 4. Given the following two structures: struct image struct pix { { int rows; unsigned char r; int cols; unsigned char g; struct pix pixmap[1024][768]; unsigned char b; }; }; the order in which the structure definitions appears in a program must be: a. struct image before b. struct pix before struct pix struct image c. Either way works fine