What is the output of the following code?
int main ()
{
int a[4]={ [1]=10, [0]=20,[3]=40,[2]=30};
printf("%d",a[2]);
}

Posted on by