Okay I fixed my code and this is what i got but i cant reprint the list and take out the desired number.
its at the bottom

#include<iostre am.h>

struct ListNode
{
int number;
ListNode *link;
};

typedef ListNode* ListNodePtr;

void insertNodeAtFro nt(ListNodePtr& , int);
void printList(ListN odePtr);
void printReversed(L istNodePtr);...