Skip to content

Instantly share code, notes, and snippets.

@cocodrips
Created July 24, 2014 17:10
Show Gist options
  • Save cocodrips/a7eaa1724a9cf3c92c2e to your computer and use it in GitHub Desktop.
Save cocodrips/a7eaa1724a9cf3c92c2e to your computer and use it in GitHub Desktop.
ぽいんたぽいんた♪2
#include <stdio.h>
#define N 5
int main(int argc, char const *argv[])
{
int hoge[N][N];
for (int i = 0; i < N; ++i){
for (int j = 0; j < N; ++j){
hoge[i][j] = i * 10 + j;
}
}
printf("%d\n", hoge[2][1]);
printf("%d\n", 1[2[hoge]]);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment