Introduction to C language.

C language is general purpose, procedural programming language supporting structured programming.

C language was originally developed at “Bell Labs” by Dennis Richie between 1972 ad 1973 to make utilities running on UNIX operating system. later it was applied to re-implementing the kernel of the UNIX operating systems.

Lets move towards the important portion of C language.The body of C language.

The structure of C program consists.

1. Header Files.

Header files are files with extension “.C” which contains c functions declarations and micro definitions to be shared between different source files. There are two types of header file:

a) Files comes with compiler.

b) Files developer writes.

some pre defined user files are:

  • <stdio.h>
  • <conio.h>
  • <graphics.h>
  • <math.h>
  • <string.h>

2. main() functions()

There are two types of function in c programming.

  • user defined function.
  • standard library function.

User defined functions:

A function is block of code that performs a specific task. C allows you to define functions according to our need and purpose. These functions are known as user defined functions.

Standard library functions:

standard library functions are built in functions in C language.

let us consider printf() function it is pre-defined function defined in header files itself. printf() function is use to send formatted output to the console screen. this function is defined in the stdio.h header file.

Also scanf() function is pre defined function in C programming. It reads the data from the user fro processing this function is also defined in stdio.h

3.Variable Declaration

In C programming, variables which are to be used in different portions of C program. The variable declaration tells compiler two things: The name of variable and The type of data variable will hold.

  for ex: datatype_(variable), 
int A;
int A[10];
float K;

4. Body

The Body contains the logic of the C program. It refers to the operation that are performed in the functions. It can be anything like manipulations, searching, sorting, printing,etc.

for ex: the logic for bubble sort is stepping through array elements and 
comparing the adjacent element.
let us organize the array elements in ascending order.

after running two loops we read the data elements and compare them
with adjacent left element if it is bigger then swapping happens.

temp = array[j];
array[j] = array[j+1];
array[j+1] = temp;
this is swapping logic behind the bubble sort.

5. Return

The return statement is use to terminate the execution of the function and transfer the program control back to the calling function it can be said as it returns the result.using the syntax return program is put to an end.


A digital marketer, programmer, and WordPress developer who is always looking for new technology stuff and news. Saurabh has 1+ years of experience in writing content and in web development.


Jenny · May 15, 2020 at 5:57 am

First off I would like to say superb blog! I had a quick question that I’d
like to ask if you do not mind. I was interested to find out how you
center yourself and clear your head prior to writing.

I’ve had difficulty clearing my mind in getting my ideas
out. I do take pleasure in writing but it just seems like the first 10 to 15 minutes are wasted simply just
trying to figure out how to begin. Any ideas or tips? Thanks!

Brooklynsmit · May 16, 2020 at 1:01 pm

Hello to every body, it’s my first pay a quick visit of this webpage; this webpage includes amazing and actually excellent material in favor of visitors.

    Saurabh · May 21, 2020 at 3:59 am

    Thank you so much keep loving keep sharing

Dylansmit · May 17, 2020 at 5:09 am

I am extremely impressed together with your writing talents as neatly as with the format for your weblog.
Is this a paid subject or did you customize it your
self? Either way keep up the excellent high quality writing, it’s rare
to see a great weblog like this one nowadays..

    Saurabh · May 21, 2020 at 3:59 am

    Thank you so much keep loving keep sharing

Kailee · May 17, 2020 at 7:10 am

Excellent site you’ve got here.. It’s hard to find high quality writing like yours these days.
I really appreciate individuals like you!

Take care!!

    Saurabh · May 21, 2020 at 3:58 am

    Thank you so much keep loving keep sharing

Natalie · May 17, 2020 at 5:23 pm

Nice blog here! Also your site so much up fast! What web host are you the usage of?
Can I am getting your affiliate link on your host? I desire my website loaded up as fast as yours lol

    Saurabh · May 21, 2020 at 3:58 am

    Thank you brother, I use siteground web hosting

Madalynn · May 18, 2020 at 1:26 pm

Ahaa, its nice dialogue regarding this article at this place at this weblog, I have read all
that, so at this time me also commenting at this place.

Jacob · May 18, 2020 at 5:39 pm

I am not sure where you are getting your information, but great topic.
I needs to spend some time learning much more or understanding more.

Thanks for magnificent info I was looking for this information for my mission.

    Saurabh · May 21, 2020 at 3:57 am

    Thanks, brother keep loving keep supporting

Leah · May 19, 2020 at 5:14 am

Hi there mates, how is the whole thing, and what you wish for to say on the topic of this paragraph, in my view its in fact awesome in favor of

Riley · May 19, 2020 at 7:53 am

Hello! This post could not be written any better! Reading through this post reminds me of my good
old room mate! He always kept talking about this.
I will forward this post to him. Pretty sure he will have a good read.
Many thanks for sharing!

    Saurabh · May 21, 2020 at 3:38 am

    thanks, brother keep loving keep sharing

Jacob · May 29, 2020 at 4:58 am

Way cool! Some very valid points! I appreciate you writing this article plus the rest of the site is also very

Sebastian · May 29, 2020 at 11:44 am

I’ve learn some good stuff here. Certainly worth bookmarking for revisiting.
I wonder how much attempt you put to create one of these great informative website.

    Saurabh · May 30, 2020 at 2:37 am

    Thanks hope you love the article

Bonnie · May 31, 2020 at 5:46 am

Hi there, I found your blog by the use of Google even as looking for a comparable matter,
your site got here up, it seems great. I’ve bookmarked it in my google bookmarks.

Hi there, just become aware of your blog via Google, and found that it’s really informative.

I’m going to watch out for brussels. I will appreciate if you
continue this in future. Many other people can be benefited out of your writing.

    Saurabh · June 3, 2020 at 3:23 am

    Thank you so much…! keep sharing keep supporting…!

Nora · June 6, 2020 at 4:54 pm

It is not my first time to visit this web site, i am visiting this site dailly and get
pleasant information from here all the time.

Maria · June 9, 2020 at 4:28 am

Attractive section of content. I just stumbled upon your web site and in accession capital to assert that I acquire actually enjoyed account your
blog posts. Any way I’ll be subscribing to your augment and even I achievement you access consistently rapidly.

What Is Keto Advanced Fat Burner · June 19, 2020 at 5:45 am

Awesome! Its in fact amazing piece of writing, I have got much clear idea on the topic of from this article.

ปั้มไลค์ · June 21, 2020 at 2:37 am

Like!! Great article post.Really thank you! Really Cool.

Laurel · June 21, 2020 at 4:47 am

Hi my family member! I wish to say that this article
is awesome, nice written and include approximately all vital infos.

I would like to peer extra posts like this .

library · June 25, 2020 at 12:51 pm

Ambedkar College Yamuna Vihar Delhi Black Like Me Book Pdf

my web blog … library

Skincell Pro Ireland · June 29, 2020 at 7:15 am

I know this if off topic but I’m looking into starting
my own weblog and was wondering what all is required to get setup?
I’m assuming having a blog like yours would cost a pretty penny?
I’m not very web savvy so I’m not 100% sure.

Any suggestions or advice would be greatly appreciated.

Many thanks

Leave a Reply

Your email address will not be published. Required fields are marked *