+ 3
is it necessary use return data type when define a function in preprocessor directive?
# define getmax(a, b) (a>b ? a : b) can specific return data type like follow code that display error. # define int/double/any type getmax(a, b) (a>b ? a : b)
3 Answers
+ 1
That is a great question and im interested in the answer too.
+ 1
thanks guys.