0

is #define and const are same?

30th Sep 2016, 6:55 PM
ABHISHEK GOEL
ABHISHEK GOEL - avatar
2 Antworten
+ 1
define is for string replacement, const is variable with single initialized value..
4th Oct 2016, 9:22 PM
Gopi K
Gopi K - avatar
0
#define is used to declare a constant in C or C++. Const is used to declare a constant in Visual Basic.
24th Nov 2016, 4:55 PM
David-Hesh Hochhauser
David-Hesh Hochhauser - avatar