Re:So you think you know C?
by gkya on Wednesday November 09, 2016 @08:59AM
(#12910259)
Thing is I can know if the necessary information is provided (i.e. CPU architecture, version of the standard). Portability is a feature of C, but C's portability is mostly syntactic and only partly semantic.
[ Parent
| on HN ]
But if the necessary info isn't provided, you don't know because, as you say, you can't know.
It's semantics. On many exams, "don't know" is a correct answer when you can't know because info is intentionally left out.
I don't really want to be a pedant here, but in this case if the necessary information was provided, I had the knowledge to find a correct answer. This is different from the case where even if the information was provided I wouldn't be able to know because I don't have the necessary knowledge.