a=77 p=2293628
Notes:
The function newFunction(int *p)
was called with
the address of a
as before. But now newFunction(int *p)
calls
printf(" p=%d\n", p )
which prints the contents of p
, which is a pointer value. A pointer value
is (on many systems) a 32-bit value, and printf()
will happily print it out in character form. The particular value printed depends on the compiler
and the run-time environment, and can't be predicted.