Tech IndustryAug 1, 2019
Qualcommqcommaster

Interviewing in C

If it's already predetermined that the interview will be in C, but then the interviewer asks some question that would be much easier in another language (for example C doesn't have stack data structure), what to do?

Add a comment
Cisco zingzong Aug 1, 2019

Depends on if the interviewer can understand other languages. Once I tried using java priority queue with comparator instead of C, interviewer didn’t accept

Qualcomm qcommaster OP Aug 1, 2019

My point is I spent time preparing in C, so now if I have to use another language, isn't that unfair? Considering the interview shall use C was predetermined from before.

Amazon shakti de Aug 1, 2019

You shouldn’t use another language.

Abbott ssJG63 Aug 1, 2019

Code stub for stack but say you will complete later

Qualcomm dynasty001 Aug 1, 2019

No . Thats doesnt work. In my interview i was specifically told that the code has to compile and run, and if i forgot to library i was free to Google search it. There is no way you can just add a stub. This has nothing to do with your intelligence. You are always being judged against your peers. If there is someone who beautifully answers that question and passes all test cases, theres no way youre gonna get thru

AT&T DDM2K Aug 1, 2019

🍿

Amazon shakti de Aug 1, 2019

If it’s an interview in C, it’s irrelevant if you can do it more easily in another language. That’s not what they are judging you on. They’re judging if you can write C.

Qualcomm qcommaster OP Aug 1, 2019

No, what if I choose C myself. But the question is the same for me , and for another candidate who chose java

Amazon shakti de Aug 1, 2019

Why in the world would you choose C if you had a choice? Why make it more difficult for yourself? No interviewer is going to change their question based on your preferences.

Microsoft bebK16 Aug 1, 2019

If you can't quickly write your own stack in C, you're not going to get very far. A simplified stack is trivial to write in a minute.

Airbnb kYFK02 Aug 1, 2019

C is so bad for interviews

Apple ST8Pr1d3 Aug 1, 2019

Only if you aren’t comfortable with C. I usually favor C but have never been in a situation where I was forced to use C (except when writing some libc function from scratch)

Apple ST8Pr1d3 Aug 1, 2019

I used C during my interview at Apple and Google. In fact, most interviewers preferred C. I usually ask C specific questions if the interviewee listed it on his/her resume.

Fidelity Investments fidStocks Jun 25, 2022

How to prepare for it?