To develop a program what fundament components are required those are called characteristics of c.
In C programming Lang. we a having 6 characteristics i.e.
1-Keyword - It is a reserve word, some meaning is already available to this word & that meaning automatically recognizable by compiler.
2-Operator - It is a special kind of symbol which performs a particular task.In C Prog .lang. we are having 44 operators ex- +, ─, *….
3-Separators - By using separator ,we can separate,an individual unit called token.In C Prog.Lang.total no.of seperators are 14. Ex: - , ; ‘ ‘ “ “ { } ,space,etc.
4-Constants - It is a fixed one never change during the execution of program.
In C, C constants are classified into 2 types-
(I) Alpha numeric constants- By using this constant we can Represent alphabets and 0-9 no’s Alpha numeric constants are classified into two types
Any data if we are representing in single quotes then it is called character constant.
Ex- ‘A’,‘d’, ‘t’, ‘5’, ‘#’
When we are representing the data within the double quotes then it is called string constant.
Ex-“Fresh jobs” “Hello”
Under alpha numeric constant we having only type of data values i.e. char.
In C programming Lang.,total no.of characters are 256.
(II) Numeric Constant:- By using numeric constant we can represent value type data numeric constant are classified into 2 types-
When we are representing the numeric values without any fraction parts then it is called integer.
Ex- 12, -12, 48, -48, 1234;
When we are representing the numeric values with fractional parts then it is called Float.
Ex- 12.3, 14.85, 98.10
Note-Char, int and float are called basic data type or basic data elements bcz any data is a combination of these 3 types of constants.
(5)Pre-define function - These all are set of pre implemented functions which are available along with the compiler.
When we required to perform any specific task then we need to call pre- define function. Ex- print ( ), scan ( ), stroppy ( ), text background ( ), get time ( ), set data ( ).
The basic syntax of C Lang. is every statement should end with;