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

When should you use a type cast?

595


Are there any problems with performing mathematical operations on different variable types?

577


What is the use of parallelize in spark?

580


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

651


Explain the array representation of a binary tree in C.

731






What is typedef struct in c?

592


What's a good way to check for "close enough" floating-point equality?

630


What is a pointer value and address in c?

636


write a progrmm in c language take user interface generate table using for loop?

1576


What is hash table in c?

576


How can I make sure that my program is the only one accessing a file?

684


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

773


Why do we use static in c?

636


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

562


When the macros gets expanded?

792