in C is:
*(array)
equivalent to array[0]
?
Therefore is
*(array+2)
equivalent to array[2]
?
in C is:
*(array)
equivalent to array[0]
?
Therefore is
*(array+2)
equivalent to array[2]
?
Yes, for instance:
given:
int a[10];
Then
*(a + 2)
is equivalent to
a[2]
and just for good measure.
a[2]
is equivalent to
2[a]
You may want to look at this, for more help: http://www.ibiblio.org/pub/languages/fortran/append-c.html
4) Taking a subscript with value i is equivalent to the operation: "pointer-add i and then type-dereference the sum", i.e.
xxx[i] = *(xxx # i)
As others mentioned, the answer is yes, but you may want to get a better understanding.