[ create a new paste ] login | about

Link: http://codepad.org/qBVmxxuP    [ raw code | output | fork ]

curecure - C, pasted on Dec 12:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

int main()
{
   typedef int (b_t)[5][6];
   b_t  *b;
   int a[3][5][6];

   a[1][2][5]=123456;
   b = a[1];

  printf("%d%c",(*b)[2][5],10);
return 0;
}


Output:
1
123456


Create a new paste based on this one


Comments: