Introduction of C
Feature of C
Simple
It provide structure approach ( to break the problem into part ) , Richset of liabrary, Data type , predefined function that's why it is simple.
Machine indepent or Portable
Unlike assemply language C program can be executed on different machine with same machine specific chnage therefore C is machine independent programing language.
Middle level programing language
Although C is indeed to do law level programing. It is used to develop system application ssuch as curnal driver. It also support the feature of high level programing language that's why it is called middle level programing language.
Structure programing language
C is structure programing language in the sense that we can break the program into part using function so it is easy to inderstand and modified. Function also provide code reusebility.
Rich library
C proivde rich inbuild library and user can also create their own library according to requrirement.
for example:- stdio.h, conio.h, math.h etc.
Memory management
It support the feature of dynamic memory allocation we can free the allocated memory at any time by calling the freef function.
Speed
The compilation and exicution time of C language is fast since there are lesser inbuilt function and hence the lesser overhead.
Pointer
We can directly intract with memory by using pointer that means pointer store. The address of variable. We can use pointer memory management, structure, function, array,recursion. We can call the function within the function it provide code reusibility for every function.
Excencable
It easily adopt new feature of programming language that's why C is called excencable programming language.
First Program
Our first program is 'Hello Program'. I hope every coder write this when they start coding so let's see our first program.And for run code you have to download "Vishual studio code"
# include<stdio.h>
void main ()
{
print f ("Hellow World")
}
Post a Comment