There are some things that I still don’t really understand with pointers when you pass them into functions.
If declare a function like
void help (const int *p)
can I modify the argument p within the function help?
Can I change what the pointer is pointing too?
Thanks for the clarification.
Yes, you can modify
p. However, it won’t change in the caller. C is a pass-by-value language. Check out the C FAQ, which has a question about exactly this situation.