aboutsummaryrefslogtreecommitdiffstats
path: root/addrofmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'addrofmain.c')
-rw-r--r--addrofmain.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/addrofmain.c b/addrofmain.c
new file mode 100644
index 0000000..547909f
--- /dev/null
+++ b/addrofmain.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int main(void)
+{
+ printf("%p\n", main);
+
+ return 0;
+}