how c source file in converted to exe file

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a process change an environment variable in its caller?

923


What is a c token and types of c tokens?

819


What are data structures in c and how to use them?

902


Compare interpreters and compilers.

823


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

1821


What is the difference between text and binary i/o?

776


Subtract Two Number Without Using Subtraction Operator

585


Explain the properties of union. What is the size of a union variable

929


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1523


What is the use of void pointer and null pointer in c language?

854


ATM machine and railway reservation class/object diagram

5001


Are the expressions * ptr ++ and ++ * ptr same?

866


What are structures and unions? State differencves between them.

855


How can I discover how many arguments a function was actually called with?

837


How to establish connection with oracle database software from c language?

1933