Define Constant and Variable
Define constant and variable.
Expert
A variable is a meaningful name which is given to a data storage location in the computer memory which contains a value. Each variable that is associated with the data type finds out what type of value can be stored in variable, for example:, a decimal such as 30.05, an integer, like 100 or a character, such as 'A'.
Variables can be declared by using the following syntax:
<Data_type> <variable_name> ;
A constant is same as the variable except that the value, which is assigned to the constant, cannot be changed, as in the case of a variable. Constants should be initialized at the time of declaration.
Constants can be declared by using the following syntax:
const int interestRate = 10;
Describe the naming conventions that are necessary for XML elements tags?
What are XML attribute?
What is meant by the term workflow?
Which classes are used to handle standard menu in the MenuStrip control.
Can the 'throws' clause can be used to raise an exception?
Explain, what is an XML schema?
What is the function of DialogResult property of the Button control?
Differentiate between sliding-time expiration and absolute expiration?
Illustrate types of Session state management options available with ASP.NET?
Describe in brief regarding the performance of Visual basic?
18,76,764
1925781 Asked
3,689
Active Tutors
1425473
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!