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;
Can we enter more than single line in the TextBox control?
What do you mean by the term delegate, why must you use it and explain how do you call it?
Briefly explain Application Cache?
Explain the chief built-in objects in the ASP.NET?
Is it possible to declare a private class in a namespace?
What is meant by Delegate?
Write the name of the new method that has been introduced in ASP.NET 4.0 to redirect the page permanently?
How to ensure that no one has interfered with ViewState in the Web page?
Write the main difference between UnBoxing and boxing.
Illustrate the advantages of ASP.Net?
18,76,764
1927461 Asked
3,689
Active Tutors
1420437
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!