Which command is used to clear the screen A. Cls B. Clear C. Clscreen D. All of above

Cls
Clear
Clscreen
All of above

The correct answer is: All of the above

The commands cls, clear, and clsscreen are all used to clear the screen in a Windows command prompt.

cls is the original command for clearing the screen. It was introduced in MS-DOS 2.0.

clear is a newer command that was introduced in Windows 95. It is equivalent to cls.

clsscreen is a command that was introduced in Windows XP. It is equivalent to cls and clear.

All three commands work in the same way: they clear the screen of all text and cursor position.

Exit mobile version