Basic question
#define A 5
#define B 10
#define C (A*B)
int var;
var = C;
so here how macros will be expanded, Is it
var = (5*10)
or
var = (50)
My doubt is on the macro expansion. If macros has some calculations (*,-,/,+) on all constant,then will marco is just a in line expansion or it will evaluate the result and post it
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…