All the Notes in one Place. Download our Official App from Google Play.

Basic Structure of C program, Language, Computer Language and Compiler

Basic Structure of C program, Language, Computer Language and Compiler

Basic Structure of C program, Language, Computer Language and Compiler
To view other topics related to Computer. Click Here.

Briefly describe the Basic Structure of C program

Basic structure of C program: -

The logic according to witch a program is written is called the structure of the program. The structure of basic C program consists of two main parts. These are:

. Preprocessor Directives

. The main ( ) function

The structure of a C language program will be as:

Main ( )

{

Declaration phase

Input phase

Processing phase

Output phase

}

Every program of C language must be given and to save program with extension .C with its name. It is the name which is given to our work when we save it permanently in computer.

The symbol dot (.) one, two or three character are given differentiate or to specify the name of file with respect to its program.

Programming languages

A computer programs is written in a specific manner and according to a set of rules. These rules are called the computer language. It is also interface between computer and user.

Language, Computer Language and Compiler

Language: - It is an interface between the people like Urdu, English etc.

Computer language: - It is also an interface between computer and user.

Compiler: - This translator or converter program is used to convert a program in to machine language but as a whole.

Post a Comment

Previous Post Next Post