You are here

delline

delline function deletes the line containing the cursor and move all lines below it one line up.

C programming code for delline

#include<stdio.h>
#include<conio.h>
 
main()
{
   printf("This line will be deleted when you press a key.");
 
   getch();
   delline();
 
   printf("Line deleted successfully.");
 
   getch();
   return 0;
}