sir i understand that i need to do the initializations first and only constant values need to be passed as array index what my problem is that the compiler i have is a gcc and it is allowing me to run the following code which it should not.
main()
{
int a;
scanf("%d",&a);
int temp[a];
...
...
reurn 0;
}
|