1st mistake:

pWalk++;   is not valid for a linked list

 

 

2nd mistake:                  

printNode(pWalk->data) is not valid since pWalk is now NULL

 

Explanation