C Language Source Code to Exe | Build Process | Compilation, PreProcessor ( Theory )

preview_player
Показать описание
In this video tutorial for beginners you will learn how C Programming Language works / executes. All the steps ( preprocessing, compilation, linking ) involved i.e the build process from writing a c source code to generating an executable from it are explained.

C is a general purpose programming language and by using it, we can write the instructions for the computer or programs.

The instructions written in any programming language in human readable format is called as the source code and here the instructions written in the C programming language is called as the C source code and it is saved with .c extension.

When we write a computer program, we are going to store that in the Computer memory as the computer file and the file which is containing this source code is called as the source file and if the file is containing the source code written in the C programming language then that file is also called as the C source file.

Now while writing in the C language, it provides a lot of built-in features to implement the common operations that we have to do in the program through C standard library file.

Because the computers they can only understand the code which is written in the binary language of the machine code. and that's why we need to convert the source code that we have written in the C language to machine code and we can do that by performing the compilation process.

During the compilation process the pre processor program will process the source code first and then that processed code will be given to the compiler. Some compilers directly generate the machine code and it is also called as the object code and it is saved in a file with .OBJ extension, and some generate the assembly code and then assembler program has to be used to convert it to generate the object code.

Then the object codes are linked together along with c standard library function by a program called as linker to get the executable file. the executable in windows environment have the .exe extension.

Then the executable will be loaded to the primary memory ( RAM ) using a program called as loader and then the processor will execute that.

All these programs required to create an executable from c source code come in a bundle and it is called as tool set. Once you install the toolset you will get all these programs.

For more tutorials visit our website

LearningLad in social media
Рекомендации по теме
Комментарии
Автор

hello Sir, im just a beginner, and till now i have seen two videos, which are very helpful to me. thanks a lot

soniasharma
Автор

everyone is not smart in programming this video for all students so thanks anil sir

rahul
Автор

for the first time ..i understood the basic concept so well... this is because of ur lecture ..thank you sir

jayasree
Автор

Thank you very much, I'm starting out learning C and I've watched a few other videos of the origins of how code was born back in the 50's sort to say, but from then to now there has been many advancements and I was wondering how the newer systems process put everything together. You nailed it and you gave really great instruction. Thank you very much, I appreciate you hard work!

mrcleanz
Автор

ANIL SIR TQ SO MUCH FOR THE VIDEO SERIES U REALLY HAS KEPT A LOT OF HARD WORK AND YOUR EXPLANATION IS VERY SIMPLE AND EASY TO UNDERSTAND

pvsmouli
Автор

Wow! No one ever explained this to me. You are the best!

Nrify
Автор

HI sir your vedios are a great boost to those students who have started programming now
i m also a beginner thanku so much for this

angshumansarma
Автор

This is so cool that it made it easy to understand the basics well.Thank you so much

krishnavivekpasupuleti
Автор

Thank you so much sir for explaining everything nicely😊. I'm interested in programming language C, C++, Java. May be I can learn many more from your video, one more thing I will like to say that after each theoretically video give practical video, like how to build n execute Bcoz we are not from this field. Thanks once again😊 for sharing your knowledge with others in a very simple language....

Anita_
Автор

Thanks so much sir, i am from Agriculture sector finding it comfortable to go ahead with programming

pargatsingh
Автор

Best video on basics of C (Compilation stages)..thank u.

adityabarhanpurkar
Автор

thanks for making such a helpful video...its too simple to learn from this tutorial about C programming...its marvellous..
thanks once again😊😇

soumodeepsen
Автор

I liked the way of ur explaination it's very clear and perfect..
It makes me understand easily
Thanks a lot :-)

saichethana
Автор

First time I understand this thing easily

RAJAKUMAR-mcci
Автор

Infact I am enjoying your videos. Thank you brother. God will reward for sharing your knowledge.

siyadibrahimhassan
Автор

Thank you sir for explaining it in a way wish it is easier to understand

georgianaayen
Автор

U give me the basics of c so a big thanks .

somnathkundu
Автор

Just one word you are an amazing guy <3

nadertarek
Автор

Thank you....this cleard a lot of my doubts🙏

swayam
Автор

U r an amazing teacher, keep it up!!!

bincybabu