3 ms·
But the point is that I do know what that will print on my computer(s), with my compiler(s), on my architecture(s). "I don't know" is too generic a statement.
by giovannibajo1 7y ago
But the point is that I do know what that will print on my computer(s), with my compiler(s), on my architecture(s). "I don't know" is too generic a statement.
- mytailorisrich 7y agoEven on a given CPU with a given compiler you usually do not know until you've tried. This is an article about the C language and the starting point with all the examples is that you do not know for a fact what the result will be.
- ci5er 7y agoI understand your claim. But I've gotta say this claim is maybe a little too aggressive. I know for a fact that on a Sun-3 (68020 SunOS Desktop Pizza Box) using either gcc or the bundled cc, all of them would have been the same answer, and the answer would have been known to the coder, before running that code (unless you unleashed one of the gcc command line dogs). Except maybe #5, because who does this?
- Thorrez 7y agoOn your computer yes, but the question specifically doesn't tell you what computer and compiler are used. So thus you can't know what the number is.