C++ Interview Questions
Job interviews are always stressful and they are tough enough to make fresher and even experienced one feel nervous and scary of the interview. Technical-interviews.com has been developed to help students and jobseekers to prepare for the tough job interview questions shot at them. Review the job interview questions and answers on networking basics, load runner, winrunner, .net, vb, java, oracle and many more common job interview questions online here. You have just made the first step to build the foundation for a successful interview by reviewing Technical-interviews.com.
Programming Interviews Questions
- How can you defined OOP?
- How can you use OOP in your projects/products/applications?
- What is copy constructor?
- How many types of copy constructor are there?
- What shallow copy constructor does/behaves?
- Does C++ support copy constructor?
- Does Java support copy constructor?
- (If the answer to the previous question was correct) Why doesn’t Java support copy constructor?
- What is software life cycle?
C Interview Questions
- What does static variable mean?
- What is a pointer?
- What is a structure?
- What are the differences between structures and arrays?
- In header files whether functions are declared or defined?
- What are the differences between malloc() and calloc()?
- What are macros? What are the advantages and disadvantages?
- Difference between pass by reference and pass by value?
- What is static identifier?
- Where are the auto variables stored?
- Where does global, static, local, register variables, free memory and C Program instructions get stored?
- Difference between arrays and linked list?
Good C interview Questions
- How do you decide which integer type to use?
- What should the 64-bit integer type on new, 64-bit machines be?
- What’s the best way to declare and define global variables?
- What does extern mean in a function declaration?
- What’s the auto keyword good for?
- I can’t seem to define a linked list node which contains a pointer to itself.
- How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
- How can I declare a function that returns a pointer to a function of its own type?
C Questions for a Hardware Engineer
- What are the total number of lines written in C/C++? What is the most complicated/valuable program written in C/C++?
- What compiler was used?
- Have you studied buses? What types?
- Have you studied pipelining? List the 5 stages of a 5 stage pipeline. Assuming 1 clock per stage, what is the latency of an instruction in a 5 stage machine? What is the throughput of this machine ?
- How many bit combinations are there in a byte?
- What is the difference between = and == in C?
- Are you familiar with VHDL and/or Verilog?