1.
What is the output of the following C code:
#include
int main() {
    unsigned int m = 32;
    printf("%x
", ~m);
    return 0;
}
2.
What is the output of the following C code:

#include
int main() {
    printf("%x
", -1 << 3);
    return 0;
}
3.
What is the output of the following C code:
#include<stdio.h>
int main()
{
unsigned int res;
res = (64 >>(2+1-2)) & (~(1<<2));
printf("%d
", res);
return 0;
}
4.
What is the output of the following C code:
#include
int main() {
    int x, y, z;
    x = y = z = 1;
    z = ++x || ++y && ++z;
    printf("%d,%d,%d
", y, x, z);
    return 0;
}
5.
What is the output of the following C code:
#include<stdio.h>
int main()
{
int x, y, z;
x=y=z=1;
z = ++x ||--y || ++z;
printf("%d,%d,%d
",y,x,z);

}
6.
What is the output of the following C code:
#include
int main() {
    int i = 0;
    i++;
    if (i <= 3) {
        printf("H");
        exit(0);
        main();
    }
}
7.
What is the output of the following C code:

#include
int check(int);
int main() {
    int i = 45, c;
    c = check(i);
    printf("%d
", c);
}
int check(int ch) {
    if (ch >= 45)
        return 100;
    else
        return 10;
}
8.
What is the output of the following C code:
#include
int main() {
    int i = -2, j = 2, k = 1, m;
    m = ++i && ++j && ++k;
    printf("%d, %d, %d, %d
", i, j, k, m);
}
9.
What is the output of the following C code:
#include<stdio.h>
int main()
{
int k, num=30;
k = (num>5 ? (num <=10 ? 100 : 200): 500);
printf("%d
", k);
}
10.
What is the output of the following C code:
#include
int main()
{
int k, num=300;
k = (num>500 ? (num <=10 ? 100 : 200): 500);
printf("%d
", k);
}