Features of “C” Language
- It is robust language because of rich set of binary in – function
- It is efficient and fast because of its variant data-types and powerful operation.
- It is highly Portable i.e., programs written in one computer can be run on another
- It is well suited for structure program, thus allows the user to think about the problem in the terms of functional blocks.
- Debugging, testing and maintenance is easy
- ability to extend itself, we can continuously add our own functions to the program.
Interpreter : It reads only one line of a source program at a time and converts it into an object code. In case of errors/same will be indicated instantly. It executes line by line and it is slow. Linker is a function which links up the files that in present in the operating system, it also links the files for the hardware and makes the system ready for executing.
Preprocessor : This is a program, that processes the source program before it is passed on to the compiler. The program typed in the editor is the source code to the preprocessor, then it passed the source code to the compiler. It is not necessary to write program with preprocessor & activity
Preprocessor directories are always initialize at the beginning of the program. it begins with the symbol (#) hash. It place before the main() function
Eg: # include <station>
# define PI 3.14
Character Set : The characters that can be used to form words and expressions depends upon the computer to which the program is run
The Characters in C are
1. Letters A-X, a-z, both upper and lower
2. Digits 0-9
3. Special character, +,-,*,”,;,./,
4. which spaces newline, horizontal tab;,carriage return ,blank space
No comments:
Post a Comment