Align on 4n bytes when copying fct args on stack
[tinycc.git] / tests2 / 19_pointer_arithmetic.c
blobaff65e5b5109311fb1df5b8a452e2bdd78d242f8
1 #include <stdio.h>
3 int main()
5 int a;
6 int *b;
7 int *c;
9 a = 42;
10 b = &a;
11 c = NULL;
13 printf("%d\n", *b);
15 if (b == NULL)
16 printf("b is NULL\n");
17 else
18 printf("b is not NULL\n");
20 if (c == NULL)
21 printf("c is NULL\n");
22 else
23 printf("c is not NULL\n");
25 return 0;
28 /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/