1. C Programming language is a powerful general purpose programming
language. It can be used to develop software like operating system,
database, compiler etc. C programming is an excellent language for
beginners to learn to program.
2. C language was developed by Dennis Ritchie to create system
applications that directly interact with hardware devices such as drivers,
kernels, etc.
3. C programming is considered to be the basis of other programming
languages, that is why it is also known as mother language.
4. It is a system programming language. That is to say that it can be used to
do low level programming. It is generally used to create hardware devices,
OS, drivers, kernel etc. For example, Linux kernel is written in C itself.
5. It is a procedure-oriented programming language. Procedure-oriented
programming is known as a function, method, routine, subroutine, etc. A
procedural language specifies a series of steps for the program to solve the
problem. The meaning of procedure is to execute the code written in C line
by line.
6. It is also a Structured programming language. Structure means to break a
program into parts or blocks so that it can be easy to understand.
7. It is a middle-level programming language. The C language program is
converted to assembly code, it supports pointer arithmetic, but it is machine
independent.
Structure of C language code:-
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("Welcome in C language!");
getch();
}
- When you are trying to write the source code:-
- We save the code of C in this way like- File-name.c . For example-
- demo.c. Here demo is a file name and .c is the extension to save the all
- program in C language.
- We can run basic program of C without including stdio.h and conio.h header files. If we save a program with extension of .c . But if we need any other function which does not exist in these both header files. It does exist in any other header file then it is compulsary to include and related header files.
Nice sir
ReplyDelete