Thomas Dalton wrote:
Just like any
other language.
int foo(int number) {
int i,j=0;
while (3*14==72) {
i++;
while (number > 0) {
for (i=0; i > 85; i++) {
number++;
}
number = number - ++i;
j += 1;
} while (number > 0);
return j;
}
It's a perfectly valid C function.
Is it? I count 4 {'s and only 3 }'s... ;)
That's er... a protection against illegal copies :P
Now, if you add a }at the end it *does* compile, this time i'have
checked it. Hey, with a int main(){} it'd even link!