1.

What Is The Difference Between #define And Constant In C?

Answer»
  • A #define is used as immediate constant or as a macro. Where as the constant is a variable WHOSE VALUE can not CHANGE.
  • Pointer can be DECLARED to a constant, but not for #define. 
  • #define can not define EXTERNALLY, and there is no way to use it for availability to the linker. Where as the constant can be global .



Discussion

No Comment Found