C Language - Important Concepts part -2
O LEVEL-PAPER 3rD -- M3-R4
C LANGUAGE
SOME IMPORTANT CONCEPTS
FOLLWING STEPS TO EXECUTE A PROGRAM--
STEP 1 DOUBLE CLICK ON PROGRAM STORE IN HARD DISK.
STEP 2 AFTER DOUBLE CLICK ON PROGRAM , A XEROX COPY OF PROGRAM FROM HARD DISK COME INTO RAM MEMORY.
STEP 3 NOW RAM SEND EVERY SINGLE INSTRUCTION WRITTEN IN PROGRAM TO PROCESSOR MAIN UNIT.
STEP 4 NOW MAIN UNIT SEND EACH INSTRUCTION TO CONTROL UNIT.
STEP 5 IF INSTRUCTON WRITTEN IN PROGRAM IS ALU TYPE THAN CU SEND TO ALU.
STEP 6 THIS PROCESS REPEATED UNTIL ALL THE INSTRUCTION WRITTEN IN PROGRAM IS NOT EXECUTED .
FOLLOWING STEPS TO SOFTWARE DEVELOPMENT IN C--
STEP 1 PROGRAM IS WRITTEN IN C LANGUAGE I.E sum.c
STEP 2 NOW COMPILE THE PROGRAM BUT WHILE COMPILER COMPILING
THE PROGRAM ONE MORE FUNCTION IS GOING TO PERFORM
AUTOMATICALLY I.E PREPROCESSOR.
STEP 3 PREPROCESSOR CONVERT THE C LANGUAGE FILE I.E sum.c INTO
sum.i WITH HELP OF HEADER FILES(In header files, all the codes related
to program are written).
STEP 4 NOW AFTER CONVERTING THE FILE INTO sum.i PREPROCESSOR
SEND TO COMPILER .
STEP 5 NOW COMPILER CONVERT sum.i INTO sum.obj AND SEND
TO LINKER.
STEP 6 NOW LINKER CONVERT INTO sum.exe FILE(i.e Linker develop the software )
WITH OF LIBRARY FILES
Comments
Post a Comment