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

How can you draw circles in C?

0 Answers   Accenture,


What is the difference between array and linked list in c?

0 Answers  


what is the output for this question: main() { int i=1; printf("%d%d%d",i,i++,++i); }

9 Answers  


What are global variables?

0 Answers  


What is #include in c?

0 Answers  






What is the difference between a function and a method in c?

0 Answers  


main() { intx=2,y=6,z=6; x=y=z; printf(%d",x) }

5 Answers   Amazon, HCL, Thought Works,


Is it fine to write void main () or main () in c?

0 Answers  


What is Memory leakage ?

2 Answers   HCL,


What is an volatile variable?

15 Answers   HP,


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

0 Answers   Amazon,


What is the proper way of these job Tell me about there full work

0 Answers   EDS,


Categories