Since you are using the array pointer, just increment it in the loop and access the value in the address. |
||
---|---|---|
.. | ||
even-and-odd.c | ||
largestElement.c | ||
maximum-difference.c | ||
reverse-array.c | ||
secondLargestElement.c | ||
shuffle_array.c | ||
sieve-of-eratosthenes.c | ||
unique-elements-in-an-array.c |