Please check the code for delete from middle

the code is saved here:


u were not changing the values of jump or pos hence an infinite loop
please mark your doubt as resolved if it is solved

now please check it: https://ide.codingblocks.com/s/199719

your code just adds a new node, not delete
refer to the code above
https://ide.codingblocks.com/s/199730 added comments for mistakes, for complete correct code refer to the previous reply