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 down the command which is used to run a batch?
Explain about the different services provided by the DLR to CLR.
What is meant by XCOPY?
How can a text box be enforced to show characters in the uppercase?
State the various advantages of cloud services?
What do you mean by Cookie?
What is a static constructor and also explain its features?
State some of the different ways in order to pass parameters to the server?
Write down some of the layout Panels of WPF?
Write the name of two new properties that are further added in an ASP.NET 4.0 Page class?
18,76,764
1922193 Asked
3,689
Active Tutors
1430653
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!