Introduction of C programming

This C tutorial series will help you to get started in the 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 a basic understanding of any other programming language will help you to understand 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 languages. It is a 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 a 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 machine 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 to their courseware.

Advantages And Disadvantages of c Programming

There are many advantages of C Programming and it has also few disadvantages detail of the Advantages And Disadvantages of c Programming is given below

 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 your own functions to the C library.
  • The modular structure makes code debugging, maintenance, and testing easier.

Disadvantages of C programming

  • C does not provide Object Oriented Programming (OOP) concepts.
  • There is no concept 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 an example

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

/* Author:
Write a c program to print  "Hello World" on the screen */
int main()
    /* first c programe*/
    printf("Hello World \n");

Output of the following codes

Hello World" on the screen