I am C-programmer and using 

> 
> gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
> 
> 
> 

on which static array as follow is working

```
int i=10;

int a[i];

```

---

its working fine but according to me it should give error on this type of array declaration,
can any body tell me what is this behavior??