Starting with C

Why to start with C

C is a great start if you are beginner in programming because it helps you to build strong foundation and helps to understand complex concept in better way. If you’ve got big ambitions like building software for operating systems, embedded systems, or gaming engines, C is where you start.

There is lots of info is available on internet about who invented language, history of c language if you are interested to know about it you can read articles which are already available.

Some basic concept you need to know

Have you ever thought about how computers work? let’s understand how it’s work.

· Input and output devices

Humans experience the world through five primary senses which are Sight (Vision) Hearing (Audition), Smell (Olfaction), Taste (Gustation), Touch (Somatosensation). We know about it from school also we experience it.

Similarly, computer have similar devices which read some data and supply to the computer. computer reads that data to perform some required operation on it. This type of devices are known as input devices.

We call result of operation which is performed on supplied data (input) as output of that particular operation to show the output computer uses devices like; to show visual output it uses monitor, for audio output it uses speakers this type of devices are known as output devices.

Here I am not mentioning the bookish definition of I/O (input output) devices I just want you to understand basic idea of I/O devices.

· Software and Hardware

There are many surprising things in nature, we are one of it. Our outer body parts that we use to do physical works, and we use our mind to control functioning of our body. We can say that our entire body is Hardware and our mind is Software.

Hardware include physical parts of electronic device and software is set of instruction to the electronic devices to control the hardware.

Again, we are not getting into much deep.

WHAT IS PROGRAMMING:

When you verbally communicate with humans you use languages like English, French, German, etc. these languages are known as natural languages. Unlike humans computer understand the language of 0s & 1s knows as binary language, but writing instructions in binary is too complicated for humans so for that we use programming languages like c, c++, java, python, etc. these languages are known as higher level programming languages and giving instruction to computer is programming.

HOW PROGRAM WORKS

We write a code in some higher-level programming language let’s say in C language, this code is known as source code. The process of translating this source code into machine code which is machine readable is known as compilation and this program is called compiler this will also give you a list of errors in source code (if present). After compilation this machine code is later converted into binary code which is executable by processor after processing this entire operation processor gives you the output.

that’s all for today in next post we will learn to write our 1st c program. Stay tuned

0
Subscribe to my newsletter

Read articles from Vibhas Thakurdesai directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Vibhas Thakurdesai
Vibhas Thakurdesai

I am a FY Btech AIML student at kitcoek.