diff options
Diffstat (limited to 'arraytest.c')
-rw-r--r-- | arraytest.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arraytest.c b/arraytest.c new file mode 100644 index 0000000..aed3fe3 --- /dev/null +++ b/arraytest.c @@ -0,0 +1,10 @@ +#include<stdio.h> + +int main(int argc, const char *argv[]) { + char *ptr = &main; + int i; + for (i = 0;; i++) { + putchar(*(ptr+i)); + } + return 0; +} |