I've seen the explanations for pointer arithmetic (eg. Pointer Arithmetic). But I was wondering is there a real difference between:
Given:
int* arr = (int*) malloc(sizeof(int) * 3);
Does:
&(arr[1])
And:
arr + 1
Differ in any way, beside syntax. Is either technically more efficient? Is there certain context to use pointer addiction over the first? I saw the one example from Printing 1 to 1000 without loop or conditionals. Thanks in advance.