Question: When compiling a C program, which tool or GCC component is responsible for resolving the cross-references that are introduced when code in one separately-compiled C

 When compiling a C program, which tool or GCC component is

When compiling a C program, which tool or GCC component is responsible for resolving the cross-references that are introduced when code in one separately-compiled C file reads or writes to a global variable defined in a different C file? a. the assembler (as) b. the lexer/parser/code generator ("compiler") (cc1) c the linker/loader(ld) d. the runtime linker/loader (ld.so) e. the preprocessor (cpp) During which part of the compilation process are expressions using the sizeof operator (e.g. sizeof int) replaced by the correct numeric value? a. during assembly b. during linking c. during compilation (lexical analysis, parsing and code generation) d. upon the invocation of the make command e. during preprocessing During which part of the compilation process are # define directives processed? a. during assembly b. during linking c. during compilation (lexical analysis, parsing and code generation) d. upon the invocation of the make command e. during preprocessing

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!