Function delline deletes the line in which cursor is present and moves all the lines below it one line up.
C programming code for delline
#include<stdio.h>
#include<conio.h>
#include<conio.h>
int main()
{
printf("This line will be deleted when you press a key.");
getch();
delline();
printf("Line deleted successfully.");
getch();
return 0;
}