What is are variables in C/C++ ? A variable is a name given to a particular “memory location” in computer’s memory. Can you explain a bit more ? Alright, for example: In the above program, statement at line# 3 is a request to the computer asking “to allocate some space […]

Qualifiers – const

const: It is a promise by the programmer to the compiler, saying that “I won’t change the value of this variable, after I initialize it” If the promise is break then, the compiler won’t compile the program. The below code will compile and works, even though it is changing the […]