I want to clear the output of a C program produced with printf statements. I want to clear only one line, for example:
[source]
printf(\"AAAAAAAAAAAAAA\\
I tried answering for what is best expected here.
printf("AAAAAAAAAAAAAA"); printf("BBBBBBBBBBBBBB"); printf("CCCCCCCCCCCCCC"); //printf("DDDDDDDDDDDDDD");
comment the last line or delete if you dont want to display in terminal. printf("xxxx") is the statement used for printing output in terminal.