answersLogoWhite

0


Best Answer

It may be possible to generalise results to other integer values.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What advantage are there in defining an array size in term of symbolic constant rather than a fixed integer value?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is different between constant and integer?

A constant is a value that does not change, an integer is a positive whole number.


What is an integer constant in c plus plus?

A constant integer is an integer that is not expected to change value while it is in scope. Declaring any variable constant doesn't guarantee it won't change, but it does make it more difficult for a programmer to change the value by accident. Constant integers must be initialised at the point of instantiation. We can initialise a constant with the value of a literal constant, the value of another constant, or the value of a variable: void f (int v) { const int x {42}; // Integer constant (initialised from literal constant) const int y {x}; // Integer constant (initialised from another constant) const int z {v}; // Integer constant (initialised from a variable) // ... v *= 2; // ok -- v is variable x *= 2; // error: x is constant }


Can you use expressions in switch?

Switch Expression should be an Integer Expression.Syntax:switch(integer expression){case constant 1:do this;default:do this;}The expression following the keyword switch is any C expression that will yield an Integer value.It could be an integer constant like 1,2 or 3,or an expression that evaluates to an integer.


What is a index in algebra?

An index in Algebra is the integer n in a radical defining the n-th root


What are the various forms of integer constant?

int.float,double,


What is the size of character constant?

character constant is 4 bytes explanation is all constants is integer


What are 2 types of constant in c?

String constants:A string constant is a sequence of alphanumeric characters enclosed in double quotation marks whose maximum length is 256 characters. The following are some examples of valid string constants:1) "The result is ="2) "Test program 123"Numeric constants:Numeric constants are positive or negative numbers. There are four types of numeric constants: integer constant, floating point constant, hex constant and octal constant. An integer constant may either be a short integer or a long integer. A floating point constant may either be of single precision or double precision.


Is it possible that the rate constant is not necessary to be integer number?

Of course.


What is the short integer data type in MS Access?

NUMBER (FieldSize= INTEGER)the opposite beingNUMBER (FieldSize = LONG INTEGER)A short integer is basically a smaller limit than a long integer. When defining a short integer the database will supply a slot in memory that is big enough to fit the biggest short int possible.


When defining a variable in visual basic what key word appear at the beignning of the statement?

Dim x as integer = 7


What is integer in programming?

it is a type of numeric constant which doesn't contain any fractional part


Describe the differences between local and module-level variables?

local Variable A Local variable is a variable whose scope is limited to the Block of the Subroutine defining it. Private Sub Command1_Click Dim a as integer End Sub Module Level Variable A Module Level variable is a variable whose scope is limited to the Form Module defining it. Public Sub Command1_Click Dim a as integer End Sub Global Level Variable A Global Level variable is a variable whose scope can be limited to the entire project defining it. Private Sub Classjnitialize () Dim a As Integer End Sub