fork download
  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int arr[]={2, 3, 4, 1, 6};
  6. cout<< arr<<"," << &arr[0] <<"," << &arr ;
  7. return 0;
  8. }
Success #stdin #stdout 0.01s 5276KB
stdin
Standard input is empty
stdout
0x7ffd31e972e0,0x7ffd31e972e0,0x7ffd31e972e0