Pointers, Methods, and Interfaces·41 of 62
Complete double(p *int) so it doubles the value p points to, in place — dereference p with *p and modify it. main already passes &x and prints x afterward.
double(p *int)
p
*p
main
&x
x
Sign in to try this exercise.