29 lines
413 B
C
29 lines
413 B
C
// random test file
|
|
|
|
#include <stdio.h>
|
|
#include <limits.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
long x[4];
|
|
long *ptr = &x[0];
|
|
|
|
printf("%d\n", CHAR_MIN);
|
|
|
|
printf("%hhd\n", (1 << 7));
|
|
|
|
printf("%p\n", ptr);
|
|
|
|
ptr++;
|
|
printf("%p\n", ptr);
|
|
|
|
ptr = ptr + 1;
|
|
printf("%p\n", ptr);
|
|
|
|
ptr = (long *)((long)ptr + 1);
|
|
printf("%p\n", ptr);
|
|
|
|
return 0;
|
|
}
|
|
|