intz1[100]={0};intz2[100]={0,};intz3[100]={};//below case does not meet zero intializationintz4[100];z4[1]=1;//the other element of array z4 is still a garbage value
please refer to the below blog link for more deeper understanding of size of array and size of vector