1. Output is: int main() { int a = 6; float b = 2; printf(“%d “, sizeof(++a + b)); printf(“%d “, a); return 0; } 9 2 9 6 4 6 5 3 2. The maximum value of unsigned integer when integer needs two byes of storage: 2^15 – 1 2^16 2^16 – 1 None of the above 3. Output is: #include <stdio.h> void main() { int a = 36; int b = 9; printf(“%d”, a>>a/b-2); return 0; } 12 10 9 5 4. When 2 is entered, The output of the code below is? #include <stdio.h> void main() { int ch; printf(“enter a value btw 1 to 2:”); scanf(“%d”, &ch); switch (ch) { case 1: printf(“1\n”); break; printf(“Hi”); default: printf(“2\n”); } } 1 Hi 2 Run time error 2 5. When 1 is entered, the output of the code below is?#include <stdio.h> void main() { int ch; printf(“enter a value btw 1 to 2:”); scanf(“%d”, &ch); switch (ch, ch + 1) { case 1: printf(“1\n”); break; case 2: printf(“2”); break; } } 1 2 3 Run time error 6. Output is: #include <stdio.h> void main() { int x = 1, y = 0, z = 5; int a = x && y && z++; printf(“%d”, a); } 1 0 5 6 7. Output is: #include <stdio.h> void main() { int x = 20; printf(“%x”, x); } 14 16 20 24 8. Output is: #include <stdio.h> int main() { char arr[7] = “TAPIT MCULearning.com”; printf(“%s”,arr); return 0; } TAPIT MCULearning.com TAPIT MC TAPIT M Compilation error 9. Output is: #include <stdio.h> void main() { int x = 4; int y = 5; x = ++x + y–; printf(“%d “, x); printf(“%d”, y); } 9 5 10 5 9 4 10 4 10. Output is: #include <stdio.h> int main() { int a = 10; double b = 5.6; int c; c = a + b; printf(“%d”, c); } 15.6 15 16 15.5 Loading … 2021-10-12