answersLogoWhite

0

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

Updated: 8/20/2019
User Avatar

Wiki User

8y ago

Best Answer

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.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which type of array accessing is faster by a0 or by a?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which is known as immovable property in the cell?

Type your answer here... a0 carbohydrate


A0⋅a6?

A0


How many inches is A0?

A0 paper is 46.8 x 33.1 in.


How do you prove a0 equals 1?

a0=(a-1\a-1)=a\a=1


How do you find D?

A= A0e^-kt A0= A/ e^kt = Ae^kt A0= A+ D* D*= A0- A D*= Ae^kt - A D*= A(e^kt - 1)


How many sheets of A4 paper goes into an A0 sheet?

16 pages of A4 fit into an A0


What is the 32nd term of the arithmetic sequence where a1 equals 15 and a13 equals -57?

Suppose the sequence is defined by an = a0 + n*d Then a1 = a0 + d = 15 and a13 = a0 + 13d = -57 Subtracting the first from the second: 12d = -72 so that d = -6 and then a0 - 6 = 15 gives a0 = 21 So a32 = 21 - 32*6 = -171


How big is A0 piece of paper?

In the standardised paper measurement system A0 is 1189 millimetres x 841 millimetres.


What type of star is Sadachbia?

Sadachbia has a spectral class of A0 meaning it has a temperature of 7,500 -> 10,000 Kelvin and has a colour of White to Blue-white.


How do you you play sponge bob on viola?

its so much fun, playin the can-can. capital letters are half notes, lowercase are quarter notes. equal signs (=) are rests. here goes: D D d1 d3 d2 d1 A0 A0 a0 a1 d2 d3 D1 D1 d1 d3 d2 d1 d0 a3 a2 a1 a0 d3 d2 d1 D0 D0 d1 d3 d2 d1 A0 A0 a0 a1 d2 d3 D1 D1 d1 d3 d2 d1 d0 a0 d1 d2 d0


Why does a0 equal 1?

yes


How is an one dimensional array is represented in memory?

Arrays are allocated as a contiguous block of memory divided into one or more elements of equal size and type. Knowing the start address of the array makes it possible to reference any element within the array through a zero-based index. Multiplying the index by the size of an element determines the offset from the start of the array.