class app {
public int x = 3;
static void Main(string[] args)
{
}
}
it’s possible get the memory address allocated by x variable?
the example can be in C, C++, C# or D.
I hope it is clear
Thanks in advance
The ampersand (
&) is the “address-of” operator in most C-like languages:The return value of
&is effectively a pointer to its operand.