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;
List the advantages of the DLR?
What is covariance and contra-variance in .NET Framework 4.0 with example for each.
Write ASP.NET configuration options that are supported in ASP.NET implementation on shared Web hosting platform?
What do you mean by the term Routed event?
Illustrate different types of inheritance?
In which statement we can execute LINQ query?
List the usages of the Command object in ADO.NET?
Explain the concept of Web services.
In what way we can check/uncheck every item in a CheckedListBox control in the .NET 4.0 framework?
Explain State Management? List the ways to maintain the state in .NET?
18,76,764
1930723 Asked
3,689
Active Tutors
1449732
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!