I just read about ASLR, and i found gcc have related flag for ASLR from here. The flag is -Wl,--dynamicbase, so i try it with this command gcc test.c -Wl,
-Wl,--dynamicbase
gcc test.c -Wl,