Tagged: constant


Php – Constant

We have mainly worked with variables up to now. In most situations we need to use variables. But there are some exceptions where we need more reliable and constant values those will not changed during the execution of the applications. Php provides the constant type. Constants are designed to not...


C Constants and Define Preprocessor

Up to now we have worked with variables. As its names states variables values may change in the flow of application. Variables changes by adding, removing, subtracting etc. This may be ideal solution for most of time but how can we avoid it if we need constant values. Because if...

Enjoy this blog? Please spread the word :)