News for hackers. Stuff that matters.
Re:Google interview questions - fun brain teasers by huhtenberg on Tuesday August 05, 2008 @12:14AM (#267140)
> Any others?

alloca()

Also, for the two-variable approach something like this should force the compiler to allocate variables in a required order:

  int main()
  {
     int foo;
     {
       int bar;
       ...
     }
     ...
  }

There are no comments on this comment yet.