This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
My input's sequence for the program was { 1 to 10, 1 to 10, 1 to 10, 1Ok, first off, I'm a cryptographer so "random" has an actual meaning to me, as oppose to "undetermined."
to 10, 1 to 10 }
and the output's sequence was { sequence of random data and inestimable }.
int a; printf("a = %d\n", a);
?int a; printf("a == %d\n", a);
That's not "random," nor is it "stochastic," or even "perplexing!" for that matter. It's undefined. I can't tell you what that will print. But I can justify what it did print [if that makes any sense...].
Tom
It's not a "functional programming", it's an "imperative programming",
they are different.
- undefined - defined - behaviour - deterministic - initialized [and uninitialized]
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |