Programming

286   Articles
286
C

Compilation process of a C program

1 Min Read
0 2784
1 Min Read
0 2784

We have four stages in the compilation process. They are Creating a helloworld.c program: Pre-processor: In Pre-processing stage header-file inclusion, macro substitution, comment removal & conditional compilation will be done. The input to the pre-processor is the “.c” file and…

Continue Reading
W

What is a compiler?

1 Min Read
0 1431
1 Min Read
0 1431

A compiler is a program that converts a program written in a high-level format (Human understandable) to a low-level format (Machine understandable). High-level format : Low-level format: Above, we have seen both high-level and low-level formats of a program to…

Continue Reading
S

Structure of a C program

1 Min Read
0 1068
1 Min Read
0 1068

The structure of a C program constitutes of different sections as shown below Documentation Section: This section is also known as the commenting section. In this section programmers write a few comments about their program which will be helpful for…

Continue Reading
Exit mobile version