Hi,
Could any one list possible number of diferences between a function
and a macro?
which one will be faster and why??
ex : function and a macro ti find max of two nums
#define MAX(a,b) (a>b) ? a:b
and
int max(int a,int b)
Could any one list possible number of diferences between a function
and a macro?
which one will be faster and why??
ex : function and a macro ti find max of two nums
#define MAX(a,b) (a>b) ? a:b
and
int max(int a,int b)
Comment