fork download
  1. typedef struct {
  2. int someArray[10];
  3. } T;
  4.  
  5.  
  6. int main(void) {
  7. T someStruct[20];
  8.  
  9. int i = 5;
  10. int j = 6;
  11.  
  12. int x = *(someStruct[i].someArray + j);
  13. int y = (*(someStruct + i)).someArray[j];
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 1672KB
stdin
Standard input is empty
stdout
Standard output is empty