int i=10; printf(\"Address of i = %u\",&i); Output: Address if i = 3220204848 Output on re-execution: Address of i = 3216532594
I get a new a
Disable ASLR using:
echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
You will always see the same address.