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;
Differentiate between fragment caching and page-level caching?
How we can enable impersonation in the web.config file?
Name the methods of DataView class?
Is it possible to create a Windows Service by using WPF?
State the different ways by which a method can be overloaded?
Briefly describe the term destructor?
Explain about the types of ASP Objects?
Explain about the AJAX Control Extender Toolkit.
List the types of data types that are present in .NET?
Differentiate MDI form and a standard form?
18,76,764
1953872 Asked
3,689
Active Tutors
1433832
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!