Skip to content

Instantly share code, notes, and snippets.

@dd1994
Created September 20, 2015 11:37
Show Gist options
  • Save dd1994/5bd965460f28fa595786 to your computer and use it in GitHub Desktop.
Save dd1994/5bd965460f28fa595786 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(void) {
int a[3] = {1, 2, 3};
for (size_t i = 0; i < 3; i++) {
printf("%d\n", i[a]);
}
return 0;
}
@dd1994
Copy link
Author

dd1994 commented Sep 20, 2015

it works! 😱

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment