while solving one question I found this:
int a[100000]={[0]=0,[99999]=0};
or
int a[100000]={0};
2.
int a[100000];
memset(&a,0,100000*4);
to my surprise second one ran faster(about 0.25 sec faster)
where as I was expecting first one to be faster.
Is there anything in standards regrading this.or this is machine dependent??
Please clear the fact. 