Subscribe Us

header ads

Introduction to C. Chapter 1. C tutorial

Hello guys welcome to the superduparcoding. Here we learn about the c language chapter by chapter.




This course is designed for the those students who wants to learn about the language. Specially for students who are studying in the first year of computer science department.

Programs

Programs are the set of instructions. You can operate or handle computer as you want by these instructions.

Programming languages included lots of programs.

Programming languages

At the beginning everyone wants to know about the programming languages.
So what let’s understand what is programming languages first

Programming languages are the simple languages like English and Hindi which are used to communicate with the another person. Programming languages are used to communicate with comuter.

Now, programming languages are used to communicate computer with us. Means we will sent the instructions in programming languages to understand the computer.
There are many programing languages like Python, C, C++ etc.

Note : this languages are not the actual languages of computer. Means computer compile that language into its own language called machine language. Which is in the form of 0 and 1 only.

Now what is this compiler:
Suppose, you are going to tourist place in India like Ajanta caves, you will get some guides there for guidance. He will transform local language to your language for your understanding.

As like the guide compiler works as a translator in c language. It translates the c language into machine language called source code. And then processed output is called object code.

Here we will learn about the C language.

Let’s us learn about the history of c shortly



As you know, this tutorial is made for the beginers so we will not go deeply in the history of C. But for your knowledge let’s do it in short.

Short History


You will be shocked to hear that initially programs(set of instructions ) were written in binary language i.e. in the form of 0 and 1. Now you can imagine how it was complicated!!!.

As you think your are right. There were hitting lot of errors.

And there was also issue of portability. Means the programs written in one computer cannot work in another. Hence programmers again rewrite the same program in another computer.
To solve the issue of portability, Cambridge University developed language called BCPL(Basic Combine Programming Language) in 1960.

In 1970 Ken Thompson made changes in the BCPL and designed B language.

Ken Thompson and Dennis Ritchie

And finally In 1972 computer scientist Dennis Ritchie created c language.
So father of C language is called Dennis Ritchie.
Dennis Ritchie



So let understand the features of C

The Unix was totally written in C language.

C is used in the most operating systems.

C is known as the most secure language so it is also used in the defense systems.

These are some points of C.

Here your first chapter finished.

In the next chapter we will see the overview means structure of C language.
I hope you will understand the chapter 1.

Post a Comment

0 Comments