Q&A is closed
void delline (void);
delete the line containing the cursor and move all lines below it one line up.
printf("This line will be deleted ... press a key.");
printf("Line deleted successfully.");
This line will be deleted ... press a key
Line deleted successfully.