Posts

Showing posts from August, 2021

Compilation Process In C

Hey folks in this article we will explain compilation process in C how does our program is translated to machine code that can be executed in our machine  Compilation process What is compilation ? Compilation is a process of converting source code written in high-level languages such as C or C++ into machine language code that can be executed by the processor Compilation process in C can be divided into four stages. Pre-processing Compiling Assembling Linking Pre-processing Stage This step is done using a program called pre-procesor .The pre-procesor takes the source code as an input , remove all comments from the source code and interpret all pre-processing directivese . For example if the pre-procesor find this line in our code  #include <studio.h> it replaces this line with content of the file studio.h The pre-procesor generate output files with .i extension  to learn more about pre-procesor and pre-processing directivese see this article ....

Introduction To C Programming Language

Image
     Hey folks welcome to Embedded Man in this article we will introduce you the C programming language but first things first what is programming language. What Is Programming Language In General a programming language is the way a programmer use to interact with computer internals because computers understand only machine code language ( which is a set of zero's and one's ) programming languages is like intermediate language between us and computer hardaware a Formal definition of a programming language would be a set of commands , instruction and other syntax used to create a software programs.  Languages a programmers use to code are called High-level language this code is then translated using a programs called Compilers into a Low-level language which is recognized directly by the computer hardware. Another definition of a programming language  is a vocabulary and set of grammatical rules for instructing a computer or computing device to perform spec...