how c source file in converted to exe file

Answers were Sorted based on User's Feedback



how c source file in converted to exe file..

Answer / anil kumar

For this ans first we have to know the c-compiler architecture
in c we will save the file with .c extension
the compiler first preprocessor toolconverts the .c file into .i(intermediate code) again .i into .asm(assembler) , .asm into .obj(object code) this object code wil be linked with the object for the library functions and generates a .exe(excutable file)

Is This Answer Correct ?    19 Yes 1 No

how c source file in converted to exe file..

Answer / anand shankar pathak

first .c file is converted to .i format it is done by the preprocessor and then the compiler convert this file to .asm file later assembler creats object that is linbked together using linker and loader and finally .exe file is genrated

and this process is done automatically while we execute the program we don't have to do anything,

Is This Answer Correct ?    0 Yes 0 No

how c source file in converted to exe file..

Answer / manish soni tagore collage jai

first
source file(file name or code program)--complile-->object
file(filename.bak)----excute----->.exe(fliename.exe)

Is This Answer Correct ?    1 Yes 10 No

how c source file in converted to exe file..

Answer / ruth

c source file converted into exe file automatically when
you run the program

Is This Answer Correct ?    5 Yes 19 No

how c source file in converted to exe file..

Answer / ricky dobriyal

/* hello i am ricky dobriyal student of bca from simt
kashipur*/

c source file converted into exe file automatically when
you run the program

thank you..

Is This Answer Correct ?    8 Yes 24 No

Post New Answer

More C Interview Questions

EXPLAIN #INCLUDE<STDIO.H> EXPLAIN #INCLUDE<CONIO.H>

4 Answers  


Write a program to show the change in position of a cursor using c

0 Answers  


what is the difference between entry control and exit control statement?

12 Answers   Darbari Lal DAV Model School,


Why is c not oop?

0 Answers  


WHAT IS HEADER?

8 Answers   ProKarma, TCS,






explain what are actual arguments?

0 Answers  


How do you use a 'Local Block'?

0 Answers   Ericsson,


Explain is it valid to address one element beyond the end of an array?

0 Answers  


What will be your course of action for a push operation?

0 Answers  


what is array?

8 Answers  


What is the function of multilevel pointer in c?

0 Answers  


What is the correct declaration of main?

0 Answers  


Categories