[ create a new paste ] login | about

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

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

int main()
{
   int **b;
   int a[3][5][6];
   a[1][2][5]=123456;
   b = (int**)a[1];
  printf("%d%c",b[2][5],10);
return 0;
}


Output:
1
1073844748


Create a new paste based on this one


Comments: