IN cpp Why should we use macros insted of global constants or inline functions!? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

IN cpp Why should we use macros insted of global constants or inline functions!?

I have seen the use of macros in far too many codes ....And still dont understand why people use that over global constants or inline functions....Why should we even consider using it? Further more it doesnt check for the data type of the passed arguments...!

18th Feb 2018, 7:11 PM
3D CrackerJack
3D CrackerJack - avatar
0 Answers