What Is C :-
- C programming language is a most powerful.
- It is developed by Dennis Ritchie at Bell Lab in 1972.
- C is general purpose programming language.
- C is very versatile; it can be used in both applications and technologies.
Key Features of C Programming :-
- Simple And Efficient :- C is a simple language that offers efficiency and performance. C language is very simple and easy to learn.
- Fast :- C is a typically supported statical programming language are faster than dynamic once.
- Portability :- C language it can be run different types of machine, Which makes highly portability.
- Structured Programming :- C is supported structured programming language that allows conditional statement and functional. Such as, loop, etc.
Basic Structured Of C Language :-
Output :-
C Variables :-
Variables are containers for
storing data values, like numbers and characters. There are three types of variables.
- Int
- Float
- Char
Note :- This is called as Basic Datatypes.
Basic Format Specifier :-
Format specifiers are used together with the printf() function to tell the compiler what type of data the variable is storing. It is basically a placeholder for the variable value. A format specifier starts with a percentage sign %, followed by a character.