Studenz.IN
      Result Signup | Login
 
Menu Design 5
 
Interview Preparation  
Back to Interview Preparation

Software - C++

  1. What is the difference between an ARRAY and a LIST?
  2. What is faster : access the element in an ARRAY or in a LIST?
  3. Define a constructor - what it is and how it might be called (2 methods).
  4. Describe PRIVATE, PROTECTED and PUBLIC – the differences and give examples.
  5. What is a COPY CONSTRUCTOR and when is it called (this is a frequent question !)?
  6. Explain term POLIMORPHISM and give an example using eg. SHAPE object: If I have a base class SHAPE, how would I define DRAW methods for two objects CIRCLE and SQUARE.
  7. What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
  8. What are 2 ways of exporting a function from a DLL?
  9. You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. new() and malloc()
  10. What is a callback function. Explain in C and C++ and WIN API environment.
  11. (From WINDOWS API area): what is LPARAM and WPARAM?
  12. What is the output of printf(”%d”)
  13. What will happen if I say delete this
  14. Difference between “C structure” and “C++ structure”.
  15. Diffrence between a “assignment operator” and a “copy constructor”
  16. What is the difference between “overloading” and “overridding”?
  17. Explain the need for “Virtual Destructor”.
  18. Can we have “Virtual Constructors”?
  19. What are the different types of polymorphism?
  20. What are Virtual Functions? How to implement virtual functions in “C”
  21. What are the different types of Storage classes?
  22. What is Namespace?
  23. What are the types of STL containers?.
  24. Difference between “vector” and “array”?
  25. How to write a program such that it will delete itself after exectution?
  26. Can we generate a C++ source code from the binary file?
  27. What are inline functions?
  28. What is “strstream” ?
  29. Explain “passing by value”, “passing by pointer” and “passing by reference”
  30. Have you heard of “mutable” keyword?
  31. What is a “RTTI”?
  32. Is there something that I can do in C and not in C++?
  33. What is the difference between “calloc” and “malloc”?
  34. What will happen if I allocate memory using “new” and free it using “free” or allocate sing “calloc” and free it using “delete”?
  35. Difference between “printf” and “sprintf”.
  36. What is “map” in STL?
  37. When shall I use Multiple Inheritance?
  38. Explain working of printf.
  39. Talk sometiming about profiling?
  40. How many lines of code you have written for a single program?
  41. How to write Multithreaded applications using C++?
  42. Write any small program that will compile in “C” but not in “C++”
  43. What is Memory Alignment?
  44. Why preincrement operator is faster than postincrement?
  45. What are the techniques you use for debugging?
  46. How to reduce a final size of executable?
  47. Give 2 examples of a code optimization.
3
www.STUDENZ.in Disclaimer Policy
Contact us for Trade Enquiries
Studenz.in Privacy Policy
Your Feedback is Valuable to us
Check out for Exciting Job-Opportunities
Services Offered by www.STUDENZ.in
Copyrights @ 2006-2007 www.STUDENZ.in All Rights Reserved
Powered By T & R Infoserv Pvt Ltd