COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

LLVM

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A pre-processed file for a C/C++ program can be used to examine
A
Header files included by the source file
B
Macro expansions
C
Both of the above
D
None of the above
Explanation: 

Detailed explanation-1: -We can consider a preprocessor as a compilation process, which runs when the developer runs the program. It is a pre-process of execution of a program using c/c++ language. To initialize a process of preprocessor commands, it’s mandated to define with a hash symbol (#).

Detailed explanation-2: -Working of C Preprocessor. The C preprocessor is a macro preprocessor (allows you to define macros) that transforms your program before it is compiled. These transformations can be the inclusion of header files, macro expansions, etc. All preprocessing directives begin with a # symbol.

There is 1 question to complete.