"Testing leads to failure, and failure leads to understanding." - Burt Rutan Visit Now!

Languages

Chapter 0: Intro

Learn C Programming
5 min read

 Chapter 0: Intro

Chapter 0: Intro

  • C programming is considered as the base for other programming languages, that is why it is known as mother language.
  • The C Language is developed by Dennis Ritchie for creating system applications that directly interact with the hardware devices such as drivers, kernels, etc
  • It can be defined by the following ways:
  1. C as a mother language : C language is considered as the mother language of all the modern programming languages because most of the compilers, JVMs, Kernels, etc. are written in C language, and most of the programming languages follow C syntax, for example, C++, Java, C#, etc.It provides the core concepts like the array, strings, functions, file handling, etc. that are being used in many languages like C++, Java, C#, etc.

  2. C as a procedural language : A procedure is known as a function, method, routine, subroutine, etc. A procedural language specifies a series of steps for the program to solve the problem.A procedural language breaks the program into functions, data structures, etc.C is a procedural language. In C, variables and function prototypes must be declared before being used

  3. C as a structured programming language : A structured programming language is a subset of the procedural language. Structure means to break a program into parts or blocks so that it may be easy to understand.

  • History : History of C language is interesting to know. Here we are going to discuss a brief history of the c language. C programming language was developed in 1972 by Dennis Ritchie at bell laboratories of AT&T (American Telephone & Telegraph), located in the U.S.A. Dennis Ritchie is known as the founder of the c languageIt was developed to overcome the problems of previous languages such as B, BCPL, etc.

Initially, C language was developed to be used in UNIX operating system. It inherits many features of previous languages such as B and BCPL.

Let's see the programming languages that were developed before C language.


LanguageYearDeveloped By
Algol1960International Group
BCPL1967Martin Richard
B1970Ken Thompson
Traditional C1972Dennis Ritchie
K & R C1978Kernighan & Dennis Ritchie
ANSI C1989ANSI Committee
ANSI/ISO C1990ISO Committee
C991999Standardization Committee

  • Features of C Language : 

     C is the widely used language. It provides many features that are given below.

  1. Simple
  2. Machine Independent or Portable
  3. Mid-level programming language
  4. structured programming language (C is a structured programming language in the sense that we can break the program into parts using functions. So, it is easy to understand and modify. Functions also provide code reusability.)
  5. Rich Library (C provides a lot of inbuilt functions that make the development fast.)
  6. Memory Management (provides a lot of inbuilt functions that make the development fast.)
  7. Fast Speed (It supports the feature of dynamic memory allocation. In C language, we can free the allocated memory at any time by calling the free() function.)
  8. Pointers (C provides the feature of pointers. We can directly interact with the memory by using the pointers. We can use pointers for memory, structures, functions, array, etc.)
  9. Recursion (In C, we can call the function within the function. It provides code reusability for every function. Recursion enables us to use the approach of backtracking.)
  10. Extensible (C language is extensible because it can easily adopt new features.)

  • Compilation process in c

What is a compilation?

I'm just a normal average boy with some passion and compassion.....there is nothing to say about me i guess...if you feel to connect with me you can contact me freely...

You may like these posts

  •  Chapter 0: IntroChapter 0: IntroC programming is considered as the base for other programming languages, that is why it is known as mother language.The C Language is develope…
  • C Programming LogoThis is a tutorial in which we will learn more about a amazing programming language i.e. CTopics which will be covered are as follows, you can navigate through an…

Post a Comment