Where is any function call of addnode?
And
What is 'node'?
What is x, r and c?
What is headptr?
How do you pass list object to the addnode function?
I see commented return statements while the...