• Array Initialization
    Dear All: I use a array in my program like this. int a[256]; But I found that, at program start phase, the system would initialize the array. Because my program storage is small, and ...
  • Array Initialization
    Dear All: I use a array in my program like this. int a[256]; But I found that, at program start phase, the system would initialize the array. Because my program storage is small, and ...
  • 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};
  • 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};
  • Array initialization inside struct
    Hello, I try compile this code (.c) with --c99 option struct sx { char c; char a[]; }; static struct sx xx = { 1, {[5] = 0} }; and have error error: #146: too many initializer values How...