answersLogoWhite

0


Best Answer

The same rules apply to naming arrays as for naming any other identifier (be it a user-defined data type, variables or constants and function names). All identifiers must begin with a non-digit character (see below) and must be unambiguous. Global or external identifiers may be subject to additional restrictions as they have to be processed by other software such as linkers.

Non-digit characters:

_ a b c d e f g h i j k l m n o p q r s t u v w x y z

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the rules for naming an array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What are the naming rules in XML?

XML has no rules like html in regards to tags and naming tags, you write your own xml tags.


Differentiate single dimensional array to double dimensional array?

A single dimensional array is an array of items. A two-dimensional array is an array of arrays of items.


What is meant by irregular dimensional array?

An irregular dimensional array is a special type of multi-dimensional array.First we must understand that a multi-dimensional array is just an array of arrays. Each element in the array is, itself, an array of elements.A regular multi-dimensional array will be an array of size n, with each element containing a separate array of size m. That is, each sub-array has the same size.An irregular multi-dimensional array will be a multi-dimensional array in which each sub-array does not contain the same number of elements.Regular array:array[0] = new array{0, 1, 2}array[1] = new array{3, 4, 5}array[2] = new array{6, 7, 8}array[3] = new array{9, 10, 11}This regular array is an array of size 4 in which each sub-array is of size 3.Irregular array:array[0] = new array{0, 1, 2}array[1] = new array{3, 4}array[2] = new array{5, 6, 7}array[3] = new array{8, 9, 10, 11}This irregular array is an array of size 4 in which the size of each sub-array is not the same.


How do you swap two adjecent no in array in c?

Option 1) Use a temporary variable: int x = array[i]; array[i] = array[i+1]; array[i+1] = x; Option 2) Use bit operators: array[i] ^= array[i+1] ^= array[i];


How do you swap rows in 2 dimensional array in Java?

[]temp = array[1] array[2]=array[1] array[1]=[]temp

Related questions

What are the rules for naming new elements?

The IUPAC rules for naming new chemical elements are at this link.


What are the naming rules on Microsoft Word 2007?

Upper & Lower case letters are the naming rules on Microsoft Word 2007.


What are the naming rules in XML?

XML has no rules like html in regards to tags and naming tags, you write your own xml tags.


What are naming rules for Microsoft office word?

ribbons


What are the rule used in naming a variable Give examples?

variable is a character or number sequence of a character is called array name


What is the generalizations of naming elements and how do you write the symbol of elements?

The rules for naming chemical elements and for chemical symbols are established by IUPAC; see this link.


A standardized system composed of methods rules and guidelines for naming atoms ions and compounds is known as?

A standardized system composed of methods rules and guidelines for naming atoms ions and compounds is known as chemical nomenclature


Why does carbon go first in CCl4?

It's just a naming convention. The rules of nomenclature were somewhat arbitrary at first. Then the need of standardization became apparent, and so formal naming rules came into play (sort of).


What are the rules of naming and finding chemical formulas?

You need a book, not an answer here for that question.


Who is the comedian who was on comedy central talking about how there are no rules for naming babies and how it seems like there should be some rules for that?

It's Louis CK.


The official ending of all enzyme names?

ase.Synthase, as exampleStill, not all enzymes have this ending. In the old days there were no naming rules. Pepsin, a digestive enzyme, is an example of non-naming by the modern rules.


Enumerate the IUPAC rules in naming ternary compounds?

ternary compuonds are composed of three elements