Linked Lists explanation

I am studying linked lists and I reach a point where I dont understand this expression.Take in mind that these are pointers to an object.
lastPtr->nextPtr = newPtr;

what does this expression mean? How I understand it is the value of newPtr is being assigned to nextPtr and lastPtr points to the address to nextPtr? is that how it works?
Topic archived. No new replies allowed.