fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. string aa[5][5];
  6. for (int i = 0; i < 5; i++) {
  7. for (int j = 0; j < 5; j++) {
  8. cout << " " << &aa[i][j];
  9. }
  10. cout << endl;
  11. }
  12. return 0;
  13. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
 0xbfca42fc 0xbfca4300 0xbfca4304 0xbfca4308 0xbfca430c
 0xbfca4310 0xbfca4314 0xbfca4318 0xbfca431c 0xbfca4320
 0xbfca4324 0xbfca4328 0xbfca432c 0xbfca4330 0xbfca4334
 0xbfca4338 0xbfca433c 0xbfca4340 0xbfca4344 0xbfca4348
 0xbfca434c 0xbfca4350 0xbfca4354 0xbfca4358 0xbfca435c