C PROGRAMMING LANGUAGE Programming Language consists of two words first is programming and the second word is Language . First, we kno...
C PROGRAMMING LANGUAGE
Programming Language consists of two words first is programming and the second word is Language.
First, we know about the meaning of these two words:
Programming means the set of instructions.
Language means the set of notations, used to communicate with each other.
What is C?
C is a programming language developed at Bell Laboratories of the USA in 1972. It was written by a man named Dennis Ritchie. C programming is an excellent language to learn to program for beginners.
Programming Language
Basically, two levels of languages are present in the Computer system:
Low-Level Language (Like Assembly, Machine level)
High-Level Language (Like C, C++, Java)
Low-Level Languages are Two types:
1. Machine Level Language(Binary)
Advantage: 1. A translator is not required.
Disadvantage: 1. Not user-friendly
2. Difficult to write code.
2. Assembly Level Language
Advantage: 1. Friendly to user
2. Easy to understand and use.
Disadvantage: 1. Translator required.
High-Level Languages are Two types:
1. Procedural Language
Procedural programming can sometimes be used as a synonym for imperative programming, where we need to define logic by writing some procedures. Like C, C++.
2. Non-Procedural Language
Instead of writing a series of sequential instructions, a programmer defines the actions that the program must perform when certain events occur. Like- SQL.
Translators
1. Compiler:
Compiles the source code to find errors and transform the high-level module to the machine level module, as a whole.
2. Interpreter:
Checks the source code line by line and transforms it into machine-level language.
3. Assembler:
It can translate the assembly level module into a machine level module.

No comments