+ 3

Need for constants

What do you need constants for in actual programs

17th Apr 2018, 9:38 PM
Miracle Onyenma
Miracle Onyenma - avatar
1 Respuesta
+ 10
When you want to make a variable that cant be changed or variable that never change in value. ^_^ Example: i want to make a password that can't be changed const int pass = 0077352; i want to make gun damage can't be change in value. const int gunAK47 = 150;
17th Apr 2018, 9:55 PM
ZΛRTHΛИ
ZΛRTHΛИ - avatar