answersLogoWhite

0


Best Answer

C has no clear() function as standard. If your implementation provides one then it is implementation defined and therefore non-portable. I would assume that it is used to clear the console (much like the CLS command would). Note that the type declaration is immaterial; it is simply the convention in C to declare all variables at the top of a function rather than declare at the point of usage.

User Avatar

Wiki User

7y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why clear is written after data type declaration in C language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What has the author Geoff Barnbrook written?

Geoff Barnbrook has written: 'Defining language' -- subject(s): Data processing, Lexicography, English language 'The language of definition'


Write a short note on Data Definition Language statements. with an example.?

Presentation of data means exhibition of data in such a clear and attractive mannner that these are easily understood and anaysed


What does it mean when something is Idl?

If something is in Idl, it means that it is written in a programming language called Interactive Data Language. Idl is frequently used when conducting data analysis.


What has the author Michael B Feldman written?

Michael B. Feldman has written: 'Data Structures With Ada' 'Data structures with Modula-2' -- subject(s): Data structures (Computer science), Modula-2 (Computer program language) 'Data structures with Ada' -- subject(s): Ada (Computer program language), Data structures (Computer science)


What has the author Joseph Bergin written?

Joseph. Bergin has written: 'Data structure programming' -- subject(s): C (Computer program language), C++ (Computer program language), Data structures (Computer science), Standard template library 'Data abstraction' -- subject(s): Object-oriented programming (Computer science), C++ (Computer program language), C (Computer program language)


What has the author Richard F Gilberg written?

Richard F. Gilberg has written: 'Data structures' -- subject(s): C&& (Computer program language), Data structures (Computer science)


What has the author Chryssoula Lascaratou written?

Chryssoula Lascaratou has written: 'The language of pain' -- subject(s): Data processing, Greek language, Modern, Lexicology, Modern Greek language, Pain, Psycholinguistics, Psychological aspects, Psychological aspects of Modern greek language


What has the author Daniel F Stubbs written?

Daniel F. Stubbs has written: 'Data structures with abstract data types and Ada' -- subject(s): Abstract data types (Computer science), Ada (Computer program language), Data structures (Computer science)


What are the significance of external declaration?

External declaration has to do with computers and is one that is outside of a function. External declarations of data take the same form as any data or function declaration, but there are specific rules that must be followed.


What is the role of data structure in compiler design?

The role of the data structure in compiler designer is to take an input of a program written in another language and produce an output in another language. It also performs error detection.


What has the author Houlang Jiang written?

Houlang Jiang has written: 'Cang Jie qing song da' -- subject(s): Chinese language, Data processing, Chinese character sets (Data processing)


In an RDBMS generic applications access data by issuing commands written in which language?

SQL (Structured Query Language) is the language used to interact with relational database management systems (RDBMS) to access and manipulate data. It is a standard language for managing databases and executing queries to retrieve information.