What is variable and constant?

Variables are used to store the values depending upon its data type. We can change the value of the variable at any time during the execution of a program.

Constants are those whose values remain same and cannot be changed at run time. There are three types of Constants:
1. String constants
2. Numeric constants
3. Character constants

More Questions

Leave a Reply

Word Verfication * Time limit is exhausted. Please reload CAPTCHA.