Re:The rise of never-ending job interviews
by roland35 on Monday August 02, 2021 @05:52AM
(#28034706)
Ooof... I have done a few double pointers in my day *, but anything beyond that seems like bad practice!
Re:The rise of never-ending job interviews
by merlincorey on Monday August 02, 2021 @06:01AM
(#28034767)
> What is the output of the expression below?
> int i = 10;
> **++&&*+p;
> Followed by a myriad of options. Including things like Syntax error.
I consider myself fluent in C and to a lesser extent C++ -- that's a Syntax Error in C, at least.
This isn't a particularly difficult one to spot, but I can understand how it would be if you weren't very familiar the language.
They mix the correct ones and wrong ones in a way, in a time constrained situation.
Eventually your eyes will give being a lexical analyser.
My diskile of C and C++ were particularly due to such questions. Its always in C or C++ I see such convoluted questions
Re:The rise of never-ending job interviews
by mlindner on Monday August 02, 2021 @05:13AM
(#28034493)
I've been working in C for most of my career and I've never heard of such questions. They're not in any textbook I'm familiar with. In fact they're incredibly pointless and irrelevant.
Re:The rise of never-ending job interviews
by lloydatkinson on Monday August 02, 2021 @04:37AM
(#28034265)
That probably explains a few things...
That's an easy one -- p is undefined. :)
(/me runs away)
I wonder how many Indians partake in the IOCCC [1].
The questions go like,
What is the output of the expression below?
Followed by a myriad of options. Including things like Syntax error.Not sure how this measures language proficiency.