Please check this code i am not able to insert node at front of a doubly linked list

Hello @anshulgurawalia in doubly linked list you have to maintain two pointers next and prev.
You are not doing that in this code could you please confirm ?

sorry i mentioned the wrong code


please consider this code

@anshulgurawalia check corrected code;

check this code once i am getting the same error

Coding Blocks IDE