Last active
April 6, 2019 01:53
-
-
Save robertmryan/1dfe3d206da13e4c1de7f7be7b1068f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// consider | |
void process(long long * array, int arraySizeInBytes) { | |
long long value = 1; | |
for (long long i = 0; i < arraySizeInBytes / sizeof(long long); i++) { | |
value *= i + 1; | |
NSLog(@"%lld", array[i]); | |
array[i] = value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works:
As does this:
They both produce