¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
is #define and const are same?
2 Respuestas
+ 1
define is for string replacement, const is variable with single initialized value..
0
#define is used to declare a constant in C or C++. Const is used to declare a constant in Visual Basic.