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 syntax of the for loop in C# code?
Name some of the binders which are offered by .NET Framework 4.0.
Explain keywords by giving example.
Name the property that is used to check whether a DataReader is closed or opened?
Name the method that offers a functionality to display the dialog box during runtime?
Explain two properties of GridView control which specifies to turn on paging and sorting.
Explain the use of Windows Installer.
Write the difference between adding items into cache by a Add() method and by the Insert() method?
Describe regarding the Visual basic.NET culture in brief.
State the two most important categories which distinctly categorize variables of C# programs.
18,76,764
1938387 Asked
3,689
Active Tutors
1450892
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!