fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. const int foo[2] = {13, foo[0] + 42};
  6.  
  7. for(const auto& i : foo) cout << i << ' ';
  8. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
13 55