0

What is preferable to use between:

#define PI 3.14159265

and

static const float PI=3.14159265

I know that define is used at compilation time and static const is used at execution time. Is just that I don't know which one to use and why?

gbriones.gdl
  • 516
  • 7
  • 23

0 Answers0