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

Write code for finding depth of tree

2 Answers   Adobe,


What is the significance of scope resolution operator?

0 Answers   Agilent, ZS Associates,


write a c program to calculate the income tax of the employees in an organization where the conditions are given as. (I.T. = 0 if income <100000 I.T = 10% if income _< 200000 it = 20% if income >_ 200000)

7 Answers   Consultancy, DBU, FD, JK Associates, Kobe, Satyam,


Is calloc better than malloc?

0 Answers  


What is sizeof int in c?

0 Answers  


write a program that print itself even if the source file is deleted?

2 Answers  


In a byte, what is the maximum decimal number that you can accommodate?

0 Answers  


Why is c platform dependent?

0 Answers  


Write a program to print factorial of given number without using recursion?

0 Answers  


Why we use stdio h in c?

0 Answers  


What is a null string in c?

0 Answers  


What is scope rule of function in c?

0 Answers  


Categories