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;
...
}
...
}
The function call is the only reliable way I can think of. Any others?