• array initialization efficiency
    Hi, I'm trying to cram my software into 8k and noticed the following regarding array initialization. Regardless of the size of the array, a call to a library function COPY is made. In the attached...
  • 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 efficiency
    Hi, I'm trying to cram my software into 8k and noticed the following regarding array initialization. Regardless of the size of the array, a call to a library function COPY is made. In the attached...
  • 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...