fork download
  1. #include <iostream>
  2.  
  3. int main() {
  4. using std::cout;
  5. using std::endl;
  6.  
  7. int array[] = { 1, 2, 3 };
  8.  
  9. for (auto i : array)
  10. cout << i << endl;
  11. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
1
2
3