Let's say we have afunction like.
void f(int *k){
k++; //increments the pointer to the second element
(--(*k)); //what exactly does is mean?
}
int main(){
v[]={1,2,3};
f(v); //passes the pointer to the forst elemento of v
}
What order does it follow?
And what if I had --k[1]
in a function like void f(int k[3])
?