Introduction of C programming

This C tutorial series will help you to get started in C programming language. By learning C you will understand basic programming concepts.To learn C Programming language you haven’t required any previous programming knowledge, but the basic understanding of any other programming languages will help you to understanding the C programming concepts quickly.
C is a high-level structured object  oriented programming language. It is general purpose programming, developed by Dennis Ritchie at AT&T Bell laboratories of  USA in early 1970.
C is one of the most widely used programming language. It is high level language used to develop system application software.

Uses of C programming language

In the beginning C was used for developing system applications e.g. :

  • Database Systems
  • Language Interpreters
  • Compilers and Assemblers
  • Operating Systems
  • Network Drivers
  • Word Processors

Features of C programming language

  • C is a robust language with rich set of built-in functions and operators.
  • Programs written in C are efficient and fast.
  • C is highly portable, programs once written in C can be run on another machines with minor or no modification.
  • C is basically a collection of C library functions, we can also create our own function and add it to the C library.
  • C is easily extensible.

C has become very popular for various reasons

  • One of the early programming languages.
  • Still the best programming language to learn quickly.
  • C language is reliable, simple and easy to use.
  • C language is a structured language.
  • Modern programming concepts are based on C.
  • It can be compiled on a variety of computer platforms.
  • Universities preferred to add C programming in their course ware.

Advantages And Disadvantages of c Programming

 Advantages of C programming

  • C is the building block for many other programming languages.
  • Programs written in C are highly portable.
  • Several standard functions are there (like in-built) that can be used to develop programs.
  • C programs are basically collections of C library functions, and it’s also easy to add own functions in to the C library.
  • The modular structure makes code debugging, maintenance and testing easier.

Disadvantagesn of C programming

  • C does not provide Object Oriented Programming (OOP) concepts.
  • There is no concepts of Namespace in C.
  • C does not provide binding or wrapping up of data in a single unit.
  • C does not provide Constructor and Destructor..

First Program As example

We will learn about c programming in detail in our next posts, for quick view  look at the first c programming code given below.

/* Author: www.gillanidata.com
Require:
Write a c program to print  "Hello World" on the screen */
#include<stdio.h>
#include<conio.h>
int main()
{
    /* first c programe*/
    printf("Hello World \n");
    getch();
}

Output of the following codes


See an other example in codding a simple calculator.

Be the first to comment

Leave a Reply

Your email address will not be published.


*