Skip to main content

Best introduction to c language

Introduction to C language

c language is a programming language that 
is used to solve problem.to make operator system.etc
If you are beginner in programming your language should be c.
Becuase it provide you all the basic concept of other languages like --python
It provide you basic error understanding ability.
Before moving on programming you should know about what topic is in c language.
If you want to do any field of computer science you should learn c in very effective way.
I promise you after reading whole blog you feel like a programmer.

1.Basic

in this section we learn about type of data .thier size .

2.Arithmatic operator 

in this section we learn about simple +,-,×,%,/

3.For loop

 4.while loop

5.do -while loop

 6.Array

 7.function

8.pointer

 9.Sorting

in this section we will talk about 
1.quick sort
2.selection sort
3.insertion sort

 10.searching

1.linear searching
2.binary searching

 11.link list 

1.singly link list
2.doubly link list
3.circular link list

12.dynamic programming in c

This is the mostly covered topic in c.
Every language is depend upon c . Because c is the root language of other programming language.

History of c language-

History of C Language. ... C programming language was developed in 1972 by Dennis Ritchie at bell laboratories of AT&T (American Telephone & Telegraph), located in the U.S.A. Dennis Ritchie is known as the founder of the c language. It was developed to overcome the problems of previous languages such as B, etc.

Comments

Popular posts from this blog

solution of TRICOUNT - Counting Triangles on spoj

  TRICOUNT - Counting Triangles solution- #include<stdio.h> int main() {     int t;     scanf("%d",&t);     while(t--)     {         long long unsigned num,sum;         scanf("%llu",&num);         if(num%2==0)         sum=(num*(num+2)*((2*num)+1))/8;         else         sum=((num*(num+2)*((2*num)+1))-1)/8;         printf("%llu\n",sum);     }     return 0; }

solution of PRIME1 - Prime Generator on spoj

PRIME1 - Prime Generator solution- #include<stdio.h> #include<math.h> int main() {int t; long long int l,h,i,flag; scanf("%d",&t); while(t--) { scanf("%lld%lld",&l,&h); while(l<=h) { flag=0; for(i=2;i<=sqrt(l);i++) { if(l%i==0) { flag=1;     break; } } if(flag==0) { if(l!=1) printf("%lld\n",l); } l++; } printf("\n"); } return 0; }