how to erase output in c code example Example 1: clear screen in c system(“cls”); OR system(“clear”); Example 2: system cls c programming system (cls)