Delete tail in doubly linked list

Actually i am having trouble in deleting the tail of a doubly
linked list.


There is not even any impact on the output screen can anyone please find where i am wrong.

send me the link of whole code
may there was some error at other part of code

Please share the link of Code

How to Share Link of Code??

  1. paste your code at https://ide.codingblocks.com/

  2. click->file->save

  3. after a link will be generated at top in place of url something like: https://ide.codingblocks.com/s/12345

  4. share this link

there is error at line no 20 and 52
i have commented the error and write the correct one

now it is working you can check

Modified Code