Register Now


Lost Password

Enter your email to reset your password.

BY Author


C is a general purpose & procedural oriented programming language.

This programming language is widely used while developing software products.

It is one of the most popular computer programming languages.

The C programming language was developed by Dennis Ritchie in 1972 at AT&T Bell Laboratories.

Despite being more than 40 years old & birth of many high level, popular programming languages like C++, Java, C#, etc. in the programming world, it has sustained its popularity & status among programmers. This is because it acts as a foundation for all high-level programming languages & when it comes to speed of program’s execution, no other programming language beats C.

It is very much popular for developing of Operating System & Drivers because here speed of execution is one of the most important factors.

It is widely used in Operating Systems like UNIX, Windows, Linux, etc.

First C program

#include <stdio.h>
int main()
    printf("My First C Program");
    return 0;

This is a simple program written in C language.

It is also known as a source code.

This source code is stored in a file with extension .c (dot c).

If we execute this file, it will give following output.


My First C Program

Execution Process of C program

Execution Process of C Program

Writing the program

A program is a group of instructions/commands.


The program is preprocessed. That is program is expanded including header files, macro expansion etc. and is passed to the compiler.


The code preprocessed by preprocessor is converted into assembly language by a compiler.


Assembly code is converted into machine code. That is into .obj file.


Two or more .obj files (if available) are combined and converted into executable code.


Leave a reply