C-PROGRAMMING LANGUAGE

 

C Programming Language 

Reading Time: 4 minutes

We have been learning about various technologies from the very beginning. But now we have come up with a new thing that will enhance your learning. So we are here with a series of C programming language where you will get to know about the basics  of C programming, its history and why it is gaining so much of popularity. There are lots of other languages for coding but why C language gets so much of importance. Why C is known as the mother of all other languages. Read the article and get all the answers. But before going further towards our topic let me introduce you with two basic terms Software and Program.

Program is a collection of instructions or source code, whereas Software is  set of programs which are arranged in a sequential manner to perform a logical task.

Who Introduced C Programming Language

 Introduction and History of c language

C is a general purpose programming language which is simple, reliable and is easy to code. It is developed at AT & T’s (American telephone and telegraph) Bell laboratories of USA in 1972 by a famous American Programmer, Dennis Ritchie. The main objective behind development of this language is to overcome the problems of former programming languages such as B, BCPL etc. During the 1980s, C language started gaining popularity gradually and now it has become one of the most widely used programming languages.

History of C Language

Why to learn C Programming Language

Look,  Learning a programming language is a secondary thing. The first and foremost thing is to ask a question to yourself why you are learning this.

Will it serve your purpose….???

Although there are many other languages to learn but why we are learning this C Programming Language only. If you got the answer then you would learn it with full interest.

So here are some point which will help you in finding out your Why.

Mother Language :

It is said that C language is a mother of all other modern programming language. If you have the conceptual knowledge of C Language then you can easily go through other languages as well. Because languages like C++ , C# , Java etc follows the syntax of C Programming Language.

Procedural Programming Language :

It follows a procedural approach to solve a problem. It specifies a Step-by-Step instructions to execute a given program. Because in procedure the program get break down into modules such as Functions and Data Structures.

General Purpose Language :

C is a powerful programming language and it can be used to write both application program as well as system programs. Also used to write operating systems, databases and embedded systems etc. It was designed to write an UNIX operating system. MySQL, Device drivers, and major part of the web browsers are written in C language.

Speed :

When it comes to speed of execution nothing beats C. The speed of a program written in C is faster than a program written in other languages such a Java, Python etc. Several professional 3-D computer games where the user navigates some object are also written in C. Such games won’t become popular if they takes a long time to respond.

Mid-Level Programming Language :

C language is considered as middle level programming language. The features of both High-level language as well as Low-level language are supported in C. It has the simplicity of high level language as well as the power of low level language.

High-Level Languages are machine independent and are easy to understand whereas Low-level Languages are machine dependent and are not much easy to understand.

Program #1

Output #1

Working of Hello ! World program

  1. The execution of every program starts from the main( ) function. If their is no main function present in the program then it will not execute.
  2.  stdio.h stands for Standard Input Output which has some predefined functions like scanf( ) , printf( ) etc. If we not use this then such functions will not work and program will not get execute.
  3.  conio.h stands for Console Input Output which has predefined functions like getch( ) , clrscr( ) etc. If we not include this then such functions will not work and program will show an error.
  4. #include is a preprocessor command. It will help us in including the contents of stdio.h and conio.h files in our program source code.

Thank you for reading so far !

Hope it will help…

Stay connected 🙂  https://factunion.com/

 

 

Leave a Reply

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