Why does this program not work? Where does it go wrong. I am trying to print out the array.

Code:
    int a[5], i;

    for (i = 0; i < 5; ++i)
        printf("%d", a[i]);