so (foo_ptr = 42 ; ) will change the address of the variable foo but the value of foo
will stay the same
but i thought that
&foo_ptr represents the address of foo
why arent they doing
??Code:&foo_ptr = 42;
so (foo_ptr = 42 ; ) will change the address of the variable foo but the value of foo
will stay the same
but i thought that
&foo_ptr represents the address of foo
why arent they doing
??Code:&foo_ptr = 42;