News for hackers. Stuff that matters.
Re:The rise of never-ending job interviews by kamaal on Monday August 02, 2021 @03:57AM (#28034019)
A while back Indian companies were notoriously famous for giving questions from Let us C, from Yashwant Kanitkar.

The questions go like,

What is the output of the expression below?

    int i = 10;
    ****++&&*+p;

Followed by a myriad of options. Including things like Syntax error.

Not sure how this measures language proficiency.

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.

Re:The rise of never-ending job interviews by kamaal on Monday August 02, 2021 @06:37AM (#28034957)
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.

Re:The rise of never-ending job interviews by rdedev on Monday August 02, 2021 @04:47AM (#28034327)
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...
Re:The rise of never-ending job interviews by aix1 on Tuesday August 03, 2021 @02:28AM (#28046249)
That's an easy one -- p is undefined. :)

(/me runs away)

Re:The rise of never-ending job interviews by Bayart on Monday August 02, 2021 @06:34AM (#28034941)
I wonder how many Indians partake in the IOCCC [1].

[1]: https://www.ioccc.org/