阅读背景:

The difference between macro and function I/Ofunction comparision(from c and pointer )

来源:互联网 

macro is typeless and execute faster than funtion ,becaus of the overhead of calling and returnning of function,but macro will increase the size of program due  to many time's substitution,as well as the side effect of macro  may cause unexpected results,to avoid this ,you'd better make the arguments bracketed as possible as you can,on the contrary ,the result of function is more predicted.macro is typeless and execute faster than funti




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: