what are the compilation steps?
( i want inside the compiler )

Answer Posted / vignesh1988i

first step::: it will include the watever header file
with .h extension
second::: then it will read each line by line ...
third:::: then it will convert the code to the machine
level code
fourth>::: it will then match the syntax with the compailer
syntax which is being writtern there
fifth::: but logical errors in the program cant be found by
the compailer
sixth::: as soon as the syntax is said to be correct this
will be again decoded by the compailer to the user....this
will say SUCCESS... if syntax dosent match wit that syntax
in compailer it will give an ERROR

Is This Answer Correct ?    15 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the value of uninitialized variable in c?

576


Explain the difference between ++u and u++?

640


Difference between Shallow copy and Deep copy?

1572


What is the purpose of sprintf?

621


What is variable declaration and definition in c?

503






What is pass by value in c?

597


Is using exit() the same as using return?

679


What is void pointers in c?

590


Explain what is the difference between far and near ?

651


What is a spanning Tree?

954


Difference between MAC vs. IP Addressing

641


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

1620


What does it mean when the linker says that _end is undefined?

634


What is #ifdef ? What is its application?

649


What is the meaning of typedef struct in c?

594