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