Skip to content

Instantly share code, notes, and snippets.

@kaosf
Created July 19, 2019 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaosf/6ca5646df4e4c60a3e476d0681f55b80 to your computer and use it in GitHub Desktop.
Save kaosf/6ca5646df4e4c60a3e476d0681f55b80 to your computer and use it in GitHub Desktop.
#include "stdio.h"
int main(int argc, char const* argv[])
{
int array[] = { 0, 10, 20, 30, 40 };
for (int i = 0; i < 5; i++) {
printf("%d\n", i[array]);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment