Multiple choice technology programming languages

How will you get all macro entity of a C file ?

  1. gcc -Wall <filename>

  2. macro <fileame>

  3. gcc -e <filename>

  4. gcc -E <filename>

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

gcc -E runs only the preprocessor phase, which expands all macros, processes #include directives, and handles conditional compilation without proceeding to compilation. This outputs the fully preprocessed source code showing all macro expansions, which is exactly what 'all macro entity' refers to. gcc -e is invalid syntax, and gcc -Wall only enables warnings.