This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Initializing an array

I tried to initialize this array but it shows the error as- expression must be a modifiable lvalue.

struct sur { int n[10]; }s; s.n={1,2,3};

0