CS 202 f2017 quiz 3. cs202xy login: _____________________________________________ 1 point per little problem, then rescale so it's worth 8 points. Advice - do problem 3, then 2, then 1. 1. For each, give the value(s) printed. 1a) printf("%c", (103 >> 2) << 2 ); 1b) printf("%x", (0xfa80 | 0x7) > 0 ); 1c) for(char c='0'; isdigit(c); c += 2) { printf("%c", c++); } 1d) int x[5] = {5, 4, 3, 2, 1}; int * y = &x; x /= 2; y++; y[1] = 3; int * z = y++; printf("%i, %i, %i", x[0], y, z); 1e) char s[10] = "abcde"; char *z = s; for(; z; ) { if (z[0] == s[0]) z++; else z += 2; *z = toupper(*z); } printf("%c, %s\n", *z, s); 1f) int x = 42; while (x > 0) { printf("%i", x % 2); x /= 2; } 1g) printf("%i, %i, %f\n", 17 / 3, 17 % 3, 17 / 3.0); 1h) int x = 1; if ((x = 0) || (x++)) x++; printf("%i", x); 2) Give the min, max, and # bytes for each of the following data types 2a) unsigned char 2c) int 2e) short 2h) unsigned long int 2i) float 2j) double 3) Give an extremely short phrase (at most 10 words) describing what each keyword does 3a) static, for local variable 3c) const 3e) #define 3f) sizeof 3g) extern, for global variable 3i) typedef 3o) continue