fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int a[10][20][30][40];
  7. cout<<"a="<<a[5][5]-a[0][0]<<endl;
  8. cout<<"b="<<&a[5][5]-&a[0][0]<<endl;
  9. cout<<"c="<<a[5]-a[0]<<endl;
  10. }
  11.  
  12.  
  13.  
Success #stdin #stdout 0s 4296KB
stdin
Standard input is empty
stdout
a=3150
b=105
c=100