summaryrefslogtreecommitdiff
path: root/05/main.c
diff options
context:
space:
mode:
Diffstat (limited to '05/main.c')
-rw-r--r--05/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/05/main.c b/05/main.c
index 0eee651..3c989d9 100644
--- a/05/main.c
+++ b/05/main.c
@@ -1,6 +1,6 @@
/* #define _STDLIB_DEBUG */
/* #include <math.h> */
-/* #include <stdio.h> */
+#include <stdio.h>
/* #include <signal.h> */
/* #include <stdlib.h> */
/* #include <string.h> */
@@ -9,10 +9,10 @@
/* #include <setjmp.h> */
/* */
-char *p = "a";
-char s[] = "hello\0there";
-
-int _main(int argc, char **argv) {
- return s;
+int main(int argc, char **argv) {
+ int *p = 0x100;
+ p += 1;
+ printf("%p\n",p);
+ return 0;
}