Characteristics of C Language
C programming language is called middle-level programming language because it can support high-level language features in the combination of assembling language also.
To develop a C program some basic components are required those are called characteristics of C.
In the C programming language, we have six characteristics.
- Operator
- Keywords
- Separators
- Constants
- Predefined function
- Syntax
Keywords
Some words are reserved in the C language which meaning is automatically recognised by the compiler in the C programming language.
There are 32 keywords present in the C language.
Example- if, else, while, break etc
Operator
It is a special kind of symbol that instructs the compiler to perform a particular operation.
In the C programming language, we are having 40 operators.
Example- +(addition), -(subtraction) , *(multiplication) etc
Separators
It is used to separate the statement in the C programming. there are 14 separators in the C language.
Example- , ; “” { } etc
Constants
In C programming, if you declare any variable is constant. it means their value does not change during the execution.
Predefined function
C provides some standard function called predefined function. These pre-defined functions are used for a specific task.
Example- printf, scanf etc
Syntax
It means we have to follow some rules during writing the C code.
semicolon; used to terminate the statement in the C program