Can anyone explain what I am doing wrong so that 11 can not be found as my output?
zero foo {int * n = malloc (sizeof (int)); * N = 10; N ++; Printf ("% d", * n)}
n ++ Enhances
indicator n
, the integer is not indicated by n
to increase the integer, you need to define the pointer and after that As a result increase:
(* n) ++;
Comments
Post a Comment