i am trying to use flexible array for int variable.

Below is my code:

```
struct S2 {
    int foo;
    int bar;
    int stud_roll[];
}s2g;

void test(){
        s2g.stud_roll = {0};
}

int main(){
        test();
        return 0;
}

```

But its not working.

How can fix the problem? what is my error?