#include #include int main() { int a[5]; // we can initialize all entries one by one a[0]=1; a[1]=2; a[2]=3; a[3]=4; a[4]=5; // ... or we can do the same thing with a for loop int i; for(i=0; i< 5; i++) a[i]=i+1; system("pause"); }