C++ Important Questions

You may also like...

15 Responses

  1. javid parray says:

    thanks a lot itz very useful

  2. nam says:

    Usefull…..I was expecting answer from Q.no 5 -37

  3. koki says:

    this questions is very helpful

  4. ameena says:


  5. renu says:

    8. What is Memory Alignment?
    9. Why preincrement operator is faster than postincrement?
    10. What are the techniques you use for debugging?
    11. How to reduce a final size of executable?
    12. Give 2 examples of a code optimization.
    13. Is there something that I can do in C and not in C++?
    14. What is the difference between “calloc” and “malloc”?
    15. What will happen if I allocate memory using “new” and free it using “free” or allocate sing “calloc” and free it using “delete”?
    16. Difference between “printf” and “sprintf”.
    17. What is “map” in STL?
    18. When shall I use Multiple Inheritance?
    19. Explain working of printf.
    20. Talk sometiming about profiling?
    21. How many lines of code you have written for a single program?
    22. How to write Multithreaded applications using C++?
    23. Write any small program that will compile in “C” but not in “C++”
    24. What is the output of printf(”%d”)
    25. What will happen if I say delete this
    26. Difference between “C structure” and “C++ structure”.
    27. Diffrence between a “assignment operator” and a “copy constructor”
    28. What is the difference between “overloading” and “overridding”?
    29. Explain the need for “Virtual Destructor”.
    30. Can we have “Virtual Constructors”?
    31. What are the different types of polymorphism?
    32. What are Virtual Functions? How to implement virtual functions in “C”
    33. What are the different types of Storage classes?
    34. What is Namespace?
    35. What are the types of STL containers?.
    36. Difference between “vector” and “array”?
    37. How to write a program such that it will delete itself after exectution?

    Post to Twitter

  6. this is very useful but i want to know the answer of cpp.

  7. very useful and helping to more about c++ language.

  8. iswarya says:

    i want to know the answer of the aove question

  9. Kavitha says:

    Very usefull thanks

  10. anil says:

    it is so good but give us ans of all question

  11. avantika says:

    thanks for help me.

  12. shubha says:

    i want to know the answers of c++

  13. Noushad says:

    Not bad….

  1. April 30, 2012

    VB.Net, C#, C++…

    […]C++ Important Questions | Fresher Interview Questions[…]…

Leave a Reply

Your email address will not be published. Required fields are marked *