Arduino Memory FULL, I don't know why

Yes you initialized the variable, but you never used that value anywhere in the program. That's why the compiler dropped it.

Of course it's a C/C++ assignment. Because you use the address of the variable C, the compiler cannot drop it anymore.

1 Like