Table of Contents

delline

void delline (void);

description of delline

delete the line containing the cursor and move all lines below it one line up.

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

output of delline c example

1

  This line will be deleted ... press a key

2

  Line deleted successfully.