1.
What is the output of the following C code:

#include

int main() {
    int c = NULL + 5;
    printf("%d", c);
}
2.
What is the output of the following C code:
#include

int main() {
    int a;
    int * b = 4;
    printf("%d %d", sizeof(a), sizeof( * b));
}
3.
What is the output of the following C code snippet:

#include
int main() {
    int a;
    int * b = 4;
    printf("%d%d", sizeof(a), sizeof(b));
}
4.
What is the output of the following C code:
#include <stdio.h>

int main()
{
int ary[3] = {10, 20, 30};
int *p = ary + 1;
printf("%d
", p[-20]);
}
5.
What is the output of the following C code:
#include <stdio.h>

int main()
{
float a = 0.1, b = 0.9;
if(a + b == 1.00000000)
printf("Equal");
else
printf("Not Equal");
}
6.
What is the output of the following C code:
#include <stdio.h>

int main()
{
void a = 0.1,b = 0.9;
if(a + b == 1.00)
printf("1");
else
printf("0");
}
7.
What is the output of the following C code:
#include <stdio.h>
main()
{
if (sizeof(int) > -1)
printf("1");
else
printf("0");
}
8.
What is the output of the following C code:
#include <stdio.h>
}
return 0;
printf("%d", main);
int main = -1;
{
int main()
9.
What is the output of the following C code:
#include <stdio.h>

int main()
{
enum { O = -1, M, B = 5, P};
printf("M = %d
", M);
}
10.
What is the output of the following C code:
#include <stdio.h>

int main()
{
int y = 3;
int x = (10 % 2) * 3 / 2;
printf("%d", x);
}