1.What is Programming?
- C language is basically Computer Language.
- If we want to talk with each other we use languages like Marathi, Hindi, English etc.Computer can understand Programming languages like C, C++, python, Java, etc,
- Programming languages are set of instructions that we write helps the computer to understand the commands that we are giving.
2.History of Programming
- It was originally developed at Bell Labs by Dennis Ritchie between 1972 to 1973.
- In 1980 C generally gained popularity.
- C is the successor of B language(before C,B was develpoed).
- C has been standardized by ANSI(American National Standards Institutes) in 1989 by International Organization of standardization.
.
3.Features of C
- General purpose programing language.
- Simple and easy to learn.
- Structured programming language.
- Provides faster execution
- It contains 32 keywords ,various data types .
- It can extend itself.
- It is highly portable.
4.Application of C
- Used in embedded system.
- Used for developing system application, desktop applications.
- Used for developing browsers and their extensions.
- Used to develop databases.
- Used in developing on operating system such as Microsoft windows.
- Used for developing mobile phones operating system.
- Used for compiler production.
- Widely used in IOT applications.
|
COMMANDS |
DISCRIPTION |
|
1) include<stdio.h> : |
It include standard input output header file (stdio.h) from the C library before compiling a C program. |
|
2)main()
: |
It is the main function from where C program execution begins. |
|
3) {
: |
Beginning of the main function. |
|
4)printf()
: |
This command prints the output on the screen. |
|
5) scanf() : |
To take input from the user. |
|
6) & : |
Ampersand is the address of operator it is used to get the address of the operator. |
|
7) return 0 : |
Ends the main function. |
|
8) } : |
End of the main function. |
|
9) after
// and between /* abc */ : |
Text will not execute. |
|
10)for |
|
|
11)int,
float, double, char |
|
No comments:
Post a Comment