Thomas499:
Both preferably. But I figured out how to print what it points to, I need to figure out how to print the pointer.
I tried that before I asked on here. The youtube examples do it this way too. But I get this error message
void setup()
{
Serial.begin(115200);
int a = 45;
Serial.println((unsigned long)&a);
}
void loop()
{
}
Compiles, at least.