I wrote a function and tested. Code is as following:

void rvsLinkedLst(Node *node, Node **newHead)

{

if (node == NULLP || node->next == NULLP)

{

*newHead = node;

return;

}

rvsLinkedLst(node->next, newHead);

node->next->next = node;

node->next = NULLP;

}