Skip to content

Instantly share code, notes, and snippets.

View kokosabu's full-sized avatar

MIURA Yasuyuki kokosabu

View GitHub Profile
#include <stdio.h>
int main(int argc, char *argv[])
{
int nums[4][6] = {{ 1, 2, 3, 4, 5, 6},
{ 7, 8, 9, 10, 11, 12},
{13, 14, 15, 16, 17, 18},
{19, 20, 21, 22, 23, 24}};
/* A[B] = *(A + B) のシンタックスシュガー */
printf("nums[2][3] = %d\n", nums[2][3]);