Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop p

Introduction to C programming language

C Programming language

In this post, we will take a look at the introduction part of the C Programming Language and its history, along with answers to some questions that may come to your mind like what is a programming language.

Introduction to c programming language

Quick links

  1. What’s a programming language?
  2. Low and high-level programming languages
  3. Introduction to c programming language

What's a programming language?

A computer is a general-purpose electronic machine that works on a binary numeric system. The system cannot actually do anything on its own unless we give instructions.

Computers are non-living things so they cannot think and they only perform Work according to a set of instructions. Actually, they are scripted Through these sets of instructions. These sets of instructions are called Program or software and the person writing these instructions is referred to as A programmer.

Computers can only read machine code (100010 ... ...). Writing code in machine language is like counting each Hair in our head. I mean, it's too hard, that's why programming languages come in place to make our life easier.

We (as programmers) feel comfortable writing code or instructions in English. But the code in English for computers is nonsense so a tool called compiler converts English code into machine code, that's all.

Now it may be clear to you that a programming language is a tool by which a programmer can give a set of instructions to a computer. Through these instructions, a computer performs a number of tasks - creating 3D images in video games and presenting them to the user, arithmetic tasks - addition, subtraction, multiplication, and more.

All computers have a CPU as the main part by which they understand and execute machine code.

There are many programming languages in computer science and some of them are popular programming languages like c / c ++, java, c #, python, and javascript. C ++ is an extended version of c with more features added to it.

Each programming language has a different flavour and offers different features to programmers and different rules like grammar rules in real-world languages.

It will take you about 6 to 8 months to learn C as your first programming language. If you learn c / c ++ and clarify all the concepts of programming, then in future, you can easily learn any programming language like Java, C # and Python within a week.

What are Low-level and high-level programming languages?

Any programming language in which programmers do not think deeply about the internal structure of computer hardware and it's working is called a high-level programming language.

Clearly, this means that higher or lower is a degree of abstraction, so the more high-level programming languages will abstract the inner functioning. High-level programming languages are far from the internal details of the hardware.

On The other hand programming languages that are very close to the internal working of computer hardware are known as low-level programming languages. Assembly language is an example of a low-level programming language.

Introduction to C programming language

C is a general-purpose, high-level programming language and was originally designed to build a UNIX operating system by Dennis Ritchie in 1972 at Bell laboratories of American telephone & telegraph.

The C programming language is so popular and the programs that are written in C runs very faster than any programming language. Also, C is called the mother of all programming languages.

Where C has been used?

Many browsers such as Mozilla Firefox, chrome, safari are written in C. Unreal engine (a game engine) also uses it and so many games are created through C.

The most popular photo editing software Adobe photoshop is also created by the C programming language. There are so many real-world projects, in order to know more, you can do a google search.

C is also used in embedded systems such as Raspberry Pi.

There are so many operating systems that were created in C and some of them are window, ubuntu, chromium os and android.

In the next post, we will start looking into C. At the bottom of every C tutorials of this blog, there are buttons to navigate the pages backwards and forwards.

No comments:

Post a Comment