fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a[10];
  6. cout << a << "\n";
  7. cout << &a << "\n";
  8. cout << &a[0] << "\n";
  9.  
  10. return 0;
  11. }
Success #stdin #stdout 0.02s 2680KB
stdin
Standard input is empty
stdout
0xbfcc5dfc
0xbfcc5dfc
0xbfcc5dfc