The goal here is for the function to change the value of pointer in main(). Take the simpler case of a integer:
void function(int *x)
{
*x = 123;
}
int main()
Type: Posts; User: rcgldr
The goal here is for the function to change the value of pointer in main(). Take the simpler case of a integer:
void function(int *x)
{
*x = 123;
}
int main()
The issue is that eintragen(...) updates pstart, so it needs the address of pstart in order to update it.