cls command c code example Example 1: clear screen in c system(“cls”); OR system(“clear”); Example 2: clear screen in c system("cls");