Define constant

Briefly describe constant.

E

Expert

Verified

Constant is same as a variable except that the value, that we assign to a constant, cannot be altered, as in case of a variable. Constants must be initialized at a same time they are declared. 

We can declare constants by using the syntax given below:

const int interestRate = 10;

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.