c clear output code example Example 1: clear screen in c system("cls"); Example 2: system cls c programming system (cls)