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;
Write the difference between unmanaged and managed code?
Name the classes that are supported to make the XML DOM?
Specify the syntax which is be used to inherit from a class in C#?
Is it possible to validate a DropDownList by RequiredFieldValidator?
Explain State Management? List the ways to maintain the state in .NET?
Illustrate different security methods that IIS Provides distant from .NET?
State the use of a .disco file?
Define the term Enumeration?
Explain about the types of ASP Objects?
How to identify that whether any changes are made or not to a DataSet object while it was last loaded?
18,76,764
1947318 Asked
3,689
Active Tutors
1421078
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!