The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+1 vote
273 views
asked in Compiler Design by Veteran (23.2k points) | 273 views

2 Answers

+4 votes
Best answer

It is not done during compilation- rather just before it. This is done as by macro processor which is before any of the compilation phase. You can see the output of macro expansion by using "-E" option in gcc. 

gcc -E file.c

 

answered by Veteran (329k points)
selected by
+2 votes
It is done in Preprocessor phase before compilation.
answered by (177 points)

Related questions

0 votes
1 answer
2
0 votes
1 answer
3
asked by dhairya Active (1.5k points) | 84 views


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

29,997 questions
37,682 answers
96,750 comments
35,329 users