Sunday

What is Clear screen

Clear screen (cls) :-
                                Clear screen is an operator which is used to make the screen be cleared. And it is commonly used when we want to remove all the data written before it

                                      

and it is part of the header file <stdlib.h> and it is compulsory to include the header file because it shows we have included it properly. For using this  operator cls command is used instead of whole clrscr ( ) function.
                                                                                                                                           The proper syntax of using it is given below :
  
                                                        










No comments:

Post a Comment