0 votes 0 votes Float pi = 3.14 #define pi 3.14 Why constant declaration with define is considered to be fast than above one? Thanks Programming in C macros + – Mayankprakash asked Jul 15, 2018 • retagged Jun 18, 2019 by Cristine Mayankprakash 386 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes A definition via a macro does neither have a type nor explicitly allocates memory, hence faster than type declaration. Aakash_ answered Jul 15, 2018 Aakash_ comment Share Follow See all 0 reply Please log in or register to add a comment.