I have read about pointers but still I have some questions related to them:
1) In the following example, we have a function with a pointer:
int function(char *string, char ch)
I fail to understand * and what's the purpose of that.
2) In this example:
for (int i=4; i>=0; i--) {
printf("%p ", (p+i));
printf("%d ", *(p+i));
What is the purpose of putting a parenthesis? why is needed?
Thank you in advance.