Please enable Javascript to correctly display the contents on Dot Net Tricks!

Introduction to C Language

  Author : Shailendra Chauhan
Posted On : 23 Oct 2012
Total Views : 3,602   
Updated On : 30 Jan 2014

C is one of the most popular computer language developed at AT&T’S Bell laboratories of USA in 1972 .It was developed by Dennis Ritchie. It is also called mid level language.

Today when the computer technology is on it's highest era and the advance programming languages like C++,C# and JAVA is very popular among developers many of us may think that C is now become less important. But this is not true since, C is still very popular and important language for it's following features.

Advantage Associated with C Language

  1. Simple to use and understand. You can later on migrate to C++, C# or java. Hence, preferring two-step learning process.

  2. C++,C# or java using oops technology that actually require core C language element.

  3. Operating system like window, Linux, UNIX is still written in C. And so if you are to extend any of above operating system to work with new devices you must need to write device driver program. And are exclusively written in C.

  4. C has best performance record. Because of highest execution among all other language (due to its verity of data type and powerful operator).

  5. Enormous electronic gadgets like mobile phone, digital camera, I-pod, microwaves, ovens, washing machine are using a microprocessor (chip) which contains an operating system and a program which are embedded in these devices which must have fast execution within limited amount of memory. And it is C who comes to show its smartness here.

  6. Professional 3D computer game like spaceship and firing bullet need speed to match player’s inputs and C is again hero here.

  7. Its structured, high level, machine independent language that provide programmer a freedom to portability facility.(One computer to another).

  8. C compilers combine the facility of an assembly language plus high level language. And hence capable to write both operating system and business pack. Many C compilers are itself written in C that is available in market.

  9. Another very important feature of C is its ability to extend itself .We can continuously add our own function to its library is convents.

Disadvantages Associated with C Language

  1. There is no strict type checking (for ex: we can pass an integer value for the floating data type).

  2. As the program extends it is very difficult to fix the bugs.

  3. There is no runtime checking.

Basic Structure of C program

Documentation Section
Link Section
Definition Section
Global Declaration Section
main function section
//Declaration part
//Executable part
Sub program section
Function 1
Function 2
-- //user defined function
Function n
What do you think?

In this article I try to explain C language features and it's advantage. I hope you will be beneficial by this article. Comment and critics are welcome.

Free Interview Books
Hadoop Development cum Administration (Online)

7:00 AM-9:00AM IST

Know More
30 MAY
ASP.NET MVC with Angular4 Development (Online)

09:00 PM-11:00 PM IST(+5.30 GMT)

Know More
28 MAY
ASP.NET Core with Angular4 Development (Classroom)

10:30 AM-11:30 AM Weekend

Know More
28 MAY
ASP.NET Core with Angular4 Development (Classroom)

10:30 AM-11:30 AM Weekend

27 MAY
ASP.NET MVC with Angular4 Development (Classroom)

4:00 PM-5:30 PM Weekend

20 MAY
Angular2 and Angular4 Development (Online)

08:00 AM-10:00 AM IST(+5.30 GMT) Weekend

20 MAY
NodeJS with Angular4 Development (Classroom)

5:00 PM-6:30 PM Weekend

ASP.NET MVC with Angular4 Development (Online)

07:00 AM-09:00 AM IST(+5:30 GMT) M/W/F

ASP.NET Core Development (Online)

07:00 AM - 09:00 AM IST( TUS, THR)

29 APR
ASP.NET MVC with Angular2 Development (Classroom)

9:30 AM-11:00 AM

22 APR
MEAN Stack 2 Development (Classroom)

11:00 AM-12:30 PM Weekend

10 APR
Master Class ASP.NET MVC 5 with Angular2 Plus Angular4 Development (Online)

09:00 PM - 11:00 PM IST (M/W/F)

25 MAR
Xamarin Forms : Build Cross-platform Apps (Classroom)

8:00 AM-9:30AM Weekend