Hello, I have a very basic pointer questions.
int *i;
int i_len=0;
i[i_len++]=1;
i[i_len++]=2;
In the above scenerio, does it mean 'i' is being set as a pointer to 1 dimensional array, which sets 1,2 one after another sequentially into the array? The coder later pass the 'i_len' value as return from function. I understand 'i_len' is just an array index but could it mean something else?
If someone can kindly clarify me it would be very helpful. Many thanks.