Wednesday, 10 September 2014

variable constant

Variable: 

  • "Something that can be changed." - Danny
  • A location in the memory that can be assigned a value.


Constant:



  • A location in the memory that never changes.
  • Compilers can optimize code by accepting a constant and substituting it in without checking in the memory.

No comments:

Post a Comment