C Engineer Interview Questions

3,798 c engineer interview questions shared by candidates

You’re refactoring a function void processFile(). It starts with call to fopen() to open file, then we call several operations (they could throw exceptions) and finally at the end of the function we call fclose() to close file. Detect problem with this code and fix it (provide as many variants as you can).
avatar

C++ Developer

Interviewed at VK

4.2
Aug 22, 2018

You’re refactoring a function void processFile(). It starts with call to fopen() to open file, then we call several operations (they could throw exceptions) and finally at the end of the function we call fclose() to close file. Detect problem with this code and fix it (provide as many variants as you can).

Viewing 2051 - 2060 interview questions

Glassdoor has 3,798 interview questions and reports from C engineer interviews. Prepare for your interview. Get hired. Love your job.