#include #include void vaibhav() { int a; printf(\"%u\\n\",&a); } int main() { vaibhav(); vaibhav(); vaibhav(
It is not necessary. You may or may not get the same value of the address. And use %p instead.
%p
printf("%p\n", (void *)&a);