Moving the head of an array

Basically, my function receives an array. For example:

u8 array = {1, 2, 3, 4, 5}

I don't need the first 2 elements, how can I access the array's 3rd element as head? I plan to throw the received array to another function.

Is this ok?:

array = array[2];
somefunc(array);

Will somefunc get index 2 as start of the array?
1
2
3
4
int myArray[] = {1, 2, 3, 4, 5};

int *cut = &myArray[2];
somefunc(cut);
Topic archived. No new replies allowed.