I was looking at one of the questions in SO, and looked at the question.
Why id function behaves differently with integer and float?
I tried that in python to get the same id for both a&b. But when i tried the same on c,
main()
{
int a=4,b;
b=2+2;
printf("%p\n",&a);
printf("%p",&b);
}
But this printed different values. Why is the difference ?