Farsight Studios Interview Question

How would you update the values in an array without using array notation (given a pointer to the array)?

Interview Answer

Anonymous

Feb 15, 2016

Pointer math. Use the pointer to assign by dereferencing and then update the pointer to point to the next value in the array.