This (a() I mean) returns a random number with a function defined as :
int a (void) {
for (int e = 0; e < 10; e++);
}
And this is a factorial function I've created, but no idea why it is returning a value (and it works !) :
long int factorial (int n) {
for (long int s = 1; s *= n, --n;);
}
Is it some C weird feature ? And what's the rule to know what it will return ?