CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2011
    Posts
    3

    C/C++ code review question asking during interview.

    Hello Guys,
    Hope you are well. I am a C/C++ cross platform developer, working on Windows/Linux and Mac OSX for last three years. As I am not happy with my current job so I am looking to switch to new Job(reason being for better salary and because there is very little learning in my current job).

    I have already given couple of final stage interviews where I have been asked some C/C++ code review questions related to multi threading,string manipulations, pointers etc.

    I did well on those tests(probably answered 70% correctly) but not well enough to be offered job.

    I was wondering if anyone can point me towards a book/discussion forums that addresses these two interview preparation stages,

    * C/C++ code review test
    * A design problem given at interview which I have to suggest solution to( this could be collection of common design questions asked during interview or list build up based on people's experience during interviews).

    I know there is no hard and fast rule or book which you can read and pass the interview. The best way is to experience more and more programming/development/design implementation but any data/book where people have shared their experience will be helpful.

    Regards,

    Darren

  2. #2
    Join Date
    May 2009
    Posts
    2,413

  3. #3
    Join Date
    Jun 2011
    Posts
    3

    Re: C/C++ code review question asking during interview.

    Hi nuzzle,
    Thanks indeed for your reply, but most of these books are for comprehensive interview preparation. They dont target questions about piece of code (in C/C++) given at interview and asked to find problems and suggest solutions to it.

    Also they dont target common design questions asked during interview.

    But thanks again.

  4. #4
    Join Date
    Feb 2002
    Posts
    4,640

    Re: C/C++ code review question asking during interview.

    Okay, what "piece of code (in C/C++) given at interview" is given at every interview? Seriously, there are literally millions of pieces of code that could be presented to an interviewee. My suggestion would be to concentrate on pieces of code that the company your interviewing for (more specifically, the company and position your interviewing for).

    Viggy

  5. #5
    Join Date
    Jun 2011
    Posts
    3

    Re: C/C++ code review question asking during interview.

    Yes that would be Codes related to multithreading, STL , C pointers, C++ string manipulation , OOP etc so I am looking for sample practice codes so that I can test my skills?

    Also what about the design?

  6. #6
    Join Date
    May 2009
    Posts
    2,413

    Re: C/C++ code review question asking during interview.

    Quote Originally Posted by darren_uk_pbr View Post
    Thanks indeed for your reply, but most of these books are for comprehensive interview preparation. They dont target questions about piece of code (in C/C++) given at interview and asked to find problems and suggest solutions to it.

    Also they dont target common design questions asked during interview.
    Interview preparation should be about bringing to the surface what you already know. No last minute cramming of superficial knowledge will land you a job. Lack of depth will be mercilessly exposed during the interview. No amount of preparation can overcome a lack of true knowledge and real insight.

    But why not work through a couple of the books I identified and make sure you really understand what they're saying. To me they look quite versatile coming to the subject from different angles. If you do you should have no problems discussing any piece of a code or design situation presented to you during the interview.

    Good luck!
    Last edited by nuzzle; June 8th, 2011 at 12:32 AM.

  7. #7
    Join Date
    Jun 2011
    Posts
    35

    Re: C/C++ code review question asking during interview.

    Hi,

    I'd have to agree with nuzzle actually. You cannot really prepare for such interviews at the last minute. What I would recommend is to cram out your programming literature or coursework and maybe even find some examination question sheets. Those would probably be best to refresh old knowledge.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured