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

Is fortran faster than c?

572


Why array is used in c?

549


What are the 5 types of inheritance in c ++?

574


What is the difference between declaring a variable and defining a variable?

714


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

617






What is difference between function overloading and operator overloading?

651


Do variables need to be initialized?

616


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

1499


Is main is user defined function?

588


Why are algorithms important in c program?

614


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

624


What is the c value paradox and how is it explained?

569


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

689


Difference between linking and loading?

686


What is the purpose of 'register' keyword in c language?

622