12 ms·
It is an unsavory set of questions that has no bearing on practical work, also implementation dependent. The answer is: No, I do not know C or any other langua
by FpUser 7y ago
It is an unsavory set of questions that has no bearing on practical work, also implementation dependent.
The answer is: No, I do not know C or any other language for that matter. I know some implementations of various languages just enough to write sound and readable code. And as I forced to use a bit more languages than I like I rely on local/Internet search to keep my brains concentrated on accomplishing the actual task rather then effing them up trying to figure out some esoteric constructs.
- soup10 7y agoi didn't do the quiz, but just looking at the first question I have run across structure packing/padding issues so its not entirely useless
- minitech 7y agoOf course it has a bearing on practical work, and that it’s implementation-dependent is the whole point. These are mistaken assumptions people make in the real world.
- rayiner 7y agoThe questions are a bit cute, but they’re not testing obscure corner cases of the language. It’s not like asking if you have the trigraphs memorized. It’s testing fundamental rules about how C works: overflow, integer promotion, order of operations, memory layout, etc.
- viraptor 7y agoThey're all obscure in a "I wouldn't write code like that or let it go through review" sense. They're very synthetic cases.
- rayiner 7y agoBut would you write code that adds integers of two different types?Then you need to know the integer promotion rules. And this is just us just a way of testing that.