answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What is the difference between an array's side delarator and a subscript?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Basic Math

What is the difference between POST and REQUEST methods in PHP?

The $_POST array contains only variables supplied by a form that used the POST method, while the $_REQUEST array combines the $_POST, $_GET and $COOKIE arrays.


Difference between 1D array and 2D arrays?

1d array contains single row and multiple columns and 2d array contains multiple row and multiple columns. 2d array is a collection of 1d array placed one below another,while 1d array is simple a collection of elements.


What is difference between key and index in php arrays?

A key is the name of a variable in an array ($array["key"]) and the index is the position it's at ($array = ["key" => 0], the index would be 0). Keys and indices are the same if the array is not associative though ($array = [true], the key holding the value true is named 0 and is at index 0).


How does the number of factors determine the number of different rectangular arrays thst can be made for a given number?

The Number of factors, (That is the number of pairs, such as 2= 1x2, 2x1), is equal to the number of rectangular arrays which can be made for each composite number. As such, the number of factors in the number 9 is 3, (1,3,9), and the number of rectangular arrays is also three (1x9, 9x1,3x3). Hope this helps!


How do you merge arrays in PHP?

To merge arrays in PHP all you have to do is use the array_merge() function like shown below: <?php $array1 = array("Matt", "Michael", "Justin"); $array2 = array("Janice", "Janet", "Kylie"); $array3 = array_merge($array1, $array2); ?> One thing to remember when merging arrays is you might be creating duplicate results, if you don't want 2 or more of the same result in the array remember to use the function array_unique() to remove the duplicate results from it!

Related questions

How do you find the difference between two arrays in Java?

for arrays you can list the different arrays and what attributes that you give to them.


What are the differences between structures and arrays?

Arrays are collections of repeated data items. Structures are complex data items made up of other data items, including, potentially, other structures and arrays. You can, of course, also have arrays of structures. Array items can be accessed by using its subscript whereas structure items can be accessed using its dot or "arrow" operator in C, C++, C#, Java, and JavaScript.


What is the Difference between arrays in c and c plus plus?

Nothing whatsoever. They are exactly the same.


How do you get difference between two or more arrays in PHP?

The inherit function `array_dif($arrayOne, $arrayTwo, $arrayThree, ...)` is likely what you're looking for. It compares two or more arrays, and returns an array of values that are unique among the arrays.


What is starting subscripts value for integers arrays?

0. For many (every) languages, for every type of array, the starting subscript is zero.


What is difference between Bac arrays and DNA arrays?

BAC (Bacterial Artificial Chromosome) arrays are a type of DNA arrays. BAC arrays are usually used for a technique called array CGH (Comparative Genomic Hybridisation) which is used to identify gross deletions or amplifications in DNA (which for example is common in cancer). DNA arrays include BAC arrays but also oligo, cDNA, and promoter arrays. Oligo and cDNA arrays are typically used for gene expression analysis (looking to see how heavily expressed each gene is). Oligo arrays can also be used for SNP (single nucleotide polymorphism) analysis. Promoter arrays are used to identify transcription factor binding sites.


If an array has a 100 elements what is the allowable range of subscripts?

Since arrays in C are zero based, the allowed subscript range is 0 - 99 (gives 100 values). Always remember to subtract 1 from the high range (in this case 100) to get the last subscript maximum value.


Which type of array accessing is faster by a0 or by a?

It makes no difference as all arrays decay to pointers at the slightest provocation. Using the subscript operator is more intuitive, so it's best to just let the compiler handle the underlying pointer arithmetic. There is no performance penalty, it is merely a programming aid.


What is the difference between premitive and non premitive in operating system?

premitve is a int char float , pointer.... n non premitive is a arrays, structure, union


Which is used to compute the difference in arrays?

arrayarray_diff(array$array1,array$array2[,array$...] )


What is the difference between Strings and Arrays in c?

There is no difference. A string is just an array of type char. The only real difference is that we do not need to keep track of the length of a string because strings are null-terminated in C. If a string does not have a null-terminator, then it is just an ordinary array of character values.


Why c and java arrays are start with zero and pascal arrays are start with one?

It's a difference in mentality; some believe 0 is the begin, and is thus the only logical choice, and some think the opposite.