1 2 3 4 5 6 7 8 |
//allocate an array (of int pointers) in the heap int ** table = new int *[8]; cout << "table: " << table << endl; cout << "*table " << *table << endl; cout << "(table+1): " << (table+1) << endl; cout << "*table: " << *table << endl; |
table: 0x100700000
*table 0x0
(table+1): 0x100700008
*table: 0x0