answersLogoWhite

0

Most programmers declare variables at the top of a function and place them in descending order of size to minimise wasted memory from alignment. However, there is no specific requirement to clear the screen before processing those variables. In fact, it's best not to clear the screen at all. Ideally, console programmers should leave things exactly as they found them, and either append their program's output to the current console, or toggle modes as required, restoring the original mode when the program ends.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Why you are using clrscr in c language?

Function 'clrscr' is not part of the C language. Or the standard libraries. It is MS-DOS specific function, use the help for details (clrscr means clear the screen).


Why do we have to use uses crt or clrscr in pascal programming language?

No, you don't have to.


Why the clrscr is used after declaration?

Use the help: this function clears the screen. Note: non-standard Borland-specific function, don't use.


Why you not use clrscr in java?

Many reasons, one of them: there is no 'clrscr' in Java.


Definition of Identifier in C Language?

Identifiers or symbols are the names you supply for variables,type,function and labels.Identifiers names must differ in spelling and case from any keyword.you cannot use keyword as an identifier.you can create an identifier by specifying it in the declaration of a variable,type or function.


What are the learner variables crucial in second language acquisition?

Crucial learner variables in acquiring a second language are making use of existing knowledge of the native language, general learning strategies, or universal properties of language to internalize knowledge of the second language. Communication strategies should also be employed by the learner to make use of existing knowledge to cope with communication difficulties.


Can you use expression?

Yes, you can use expressions in various contexts, such as mathematics, programming, and language. In mathematics, expressions are combinations of numbers, variables, and operators that represent a value. In programming, expressions evaluate to a value and can include variables, functions, and operators. Additionally, in language, expressions can convey thoughts or emotions through words and phrases.


What do States' rights including secession Equality of the sexes Abolition of slavery have in common?

They use the language of the Declaration of Independence in their arguments.


Is declaration of variables allocated memory?

Constants, static variables and global variables are allocated in the program's data segment at compile time. Local variables are allocated on the stack at runtime. Variables cannot be allocated on the heap, you must use a constant, static variable, global variable or local variable to store the start address of a dynamic memory allocation. The variable must be a raw pointer or a reference handle (a smart pointer).


How does the use of language in the declaration of independence by thomas Jefferson differ from that in the crisis by thomas Paine?

According to body language expert Paul Ekman, body language is involuntary and the same on all nationalities and races and genders.


How to you use clear screen in turbo C?

by using "clrscr" command at starting of the program


How can you clear screen in c without clrscr?

You can use system("cls") function with stdlib.h