fork download
  1. #include<iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.  
  7. int a[10];
  8. for(int i=0; i<10; i++){
  9. a[i] = 0;
  10. }
  11.  
  12. for(int i=0;i<10;i++){
  13. cout << a[i] << endl;
  14. }
  15.  
  16. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
0
0
0
0
0
0
0
0
0
0