answersLogoWhite

0


Best Answer

An array is a collection of variables of the same type. Variable is a single value, while array is a collection.

User Avatar

Wiki User

โˆ™ 2013-06-23 18:50:21
This answer is:
User Avatar
Study guides

What is a programming language

What does DOS stand for

What is a software that is distributed for free

What is application software

โžก๏ธ
See all cards
3.67
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
27 Reviews

Add your answer:

Earn +20 pts
Q: How is an array different from a normal variable?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

In what way do array differ from variable in c?

Array is the set of multiple values while variable is used to store a single value at a time. Arrays have subscript while variable doesn't have a subscript. Syntax of declaring array and variable is different. For variable: data_type list of variables; For array: Data_type variable1[size], variablen[size];


What is logic gates and its types?

1.) what is operating system? 2.) what an array ? how is an array different from ordinary variable ?


What is difference between an array variable and an ordinary variable?

An ordinary variable holds a single value; an array variable holds multiple values.


What is variable size array in java?

a variable size array in java simply means a VECTOR. VECTOR is a generic dynamic ARRAY which is variable in size and 'n' number of objects can be created of it.


What is a static array in programming?

A static array is no different than any other static class variable - it is an array that is associated with the class itself and is common to all objects of that class.


What is the use of single dimensional array?

The idea of an array is to store data for different related items, using a single variable name. The different items are distinguished by a subscript (a number, which may also be a variable or some other expression)For example, if you want to track scores for four different players in a computer game, you could create an array for those scores.The idea of an array is to store data for different related items, using a single variable name. The different items are distinguished by a subscript (a number, which may also be a variable or some other expression)For example, if you want to track scores for four different players in a computer game, you could create an array for those scores.The idea of an array is to store data for different related items, using a single variable name. The different items are distinguished by a subscript (a number, which may also be a variable or some other expression)For example, if you want to track scores for four different players in a computer game, you could create an array for those scores.The idea of an array is to store data for different related items, using a single variable name. The different items are distinguished by a subscript (a number, which may also be a variable or some other expression)For example, if you want to track scores for four different players in a computer game, you could create an array for those scores.


How does an array differ from an ordinary variable?

• Array is the set of an multiple values where as variable can store single value at a time.• The difference between the definition of array and ordinary variable is the, array is always declared, initialized, and accessed using subscript whereas ordinary variable do not have any subscript.• The syntax for ordinary variable definition is data_type v1, v2, ….;• And the syntax for array variable is data_type v1[N1],v2[N2],…; where v1,v2 are name of variable and N1, N2 are the integer constants indicating the maximum size of array.


What is the difference between an array shift and unsetting a variable in PHP?

By shifting the values in an array, you are moving a key's value to the previous key. The very first key's value is obliterated. By shifting all values in the array, all keys will have a value of NULL. Unsetting a variable is entirely different -- performing a variable unsetting causes the variable to have a value of NULL, as if it was never set.


Explain Single dimensional array concepts C programming?

The idea of an array is to store data for different related items, using a single variable name. The different items are distinguished by a subscript (a number, which may also be a variable or some other expression)


What is an array variable?

An array is a variable containing multiple values. Any variable may be used as an array. There is no maximum limit to the size of an array, nor any requirement that member variables be indexed or assigned contiguously. Arrays are zero-based: the first element is indexed with the number 0.


What is the base address of an array in c program?

the address of variable (pointer) that contains array


What is the importance of array in programming?

An array is an extension of a variable. Whereas a variable only allows us to store one value at a time, an array allows us to store many values simultaneously.

People also asked

How does an array differ from an ordinary variable?

View results