What is a magic number? Why are magic numbers problematic?
Assume a program uses the named constant PI to represent the value 3.14159. The program
uses the named constant in several statements. What is the advantage of using the named
constant instead of the actual value 3.14159 in each statement?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here