fork download
  1. #include <stdio.h>
  2.  
  3. #define N 2
  4.  
  5. typedef int int8d[N][N][N][N][N][N][N][N];
  6.  
  7. int main(void) {
  8. int8d *vec = malloc(sizeof(*vec));
  9.  
  10. printf("Size:\t%d\nValue:\t%d",
  11. sizeof(int8d),
  12. (*vec)[0][1][2][3][4][5][6][7]);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2424KB
stdin
Standard input is empty
stdout
Size:	1024
Value:	0