fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int tab[25];
  7.  
  8. for (int i=0; i<25; i++)
  9. tab[i]=0;
  10.  
  11. for (int i=0; i<25; i++)
  12. cout << tab[i] << " ";
  13.  
  14. int x[5]={1, 2, 3};
  15.  
  16. cout << endl;
  17. for(int i=0;i<5;i++)
  18. cout << x[i] << " ";
  19.  
  20.  
  21. return 0;
  22. }
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
1 2 3 0 0