#include<iostream>using namespace std; int main(){ int a[10];for(int i=0; i<10; i++){a[i] = 0;} for(int i=0;i<10;i++){cout << a[i] << endl;} }
Standard input is empty
0 0 0 0 0 0 0 0 0 0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!