Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
int* p = array;
for (int i = 0; i < length; ++i, ++p)
*p = i * i;
for (int i = 0; i < length; ++i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment