C++ Important Questions

You may also like...

15 Responses

  1. Sai laxmi says:

    not bad but I think programs are in java language not c++

  2. javid parray says:

    thanks a lot itz very useful

  3. nam says:

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

  4. very useful questions

  5. koki says:

    this questions is very helpful

  6. ameena says:

    I WANT TO C++ IMPORTANT QUESTIONS PLEASE

  7. 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

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

  9. Nilesh Patil says:

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

  10. iswarya says:

    i want to know the answer of the aove question

  11. Kavitha says:

    Very usefull thanks

  12. anil says:

    it is so good but give us ans of all question

  13. avantika says:

    thanks for help me.

  14. shubha says:

    i want to know the answers of c++

  15. Noushad says:

    Not bad….

Leave a Reply

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