In the statement a[i]= i++; a=0 then i will increase to 1 .
Now what will be a to a ????
It's value will be zero as normal array. Now it does not matter what's value of i.
i.e. Means a=a=a .......=a= 0;
Rules of Array: If First element is initilized to any value then all next to this element will have zero value.
Then values of a, a will be Garbage. a will be 12. and a to a will be ZERO.