In C, any variable, including those on stack, can have its address printed.
In java, the primitive variables have no address. Every reference type object has an addresses, by definition (“reference” means address)
C# is somewhat mixed and I’m not going into it.
Python rule is extreme, simple and consistent. Every object has an address. You can print id(x) or getrefcount(x)
>>> from sys import getrefcount as rc