Initializing pointers in C++
Yes, you can initialize pointers to a value on declaration, however you can’t do: & is the address of operator and you can’t apply that to a constant (although if you could, that would be interesting). Try using another variable: or type-casting: