C++ Programming Questions Answers - Chapter 1

  • 8. Reference is like a

    1. Pointer
    2. Structure
    3. Array
    4. None of above
    Answer :

    Option A

  • 9. Stack unwinding deals with

    1. deals with polymorphism
    2. deals with inheritance
    3. deals with exception handing
    4. deals with classes
    Answer :

    Option C

  • 10. Default constructor has how many arguments

    1. 1
    2. 2
    3. 3
    4. 0
    Answer :

    Option D

  • 11. Which of the following functions below can be used Allocate space for array in memory

    1. calloc()
    2. malloc()
    3. realloc()
    4. All of above
    Answer :

    Option A

  • 12. What is the value of sizeof(char)

    1. 1
    2. 2
    3. 4
    4. 8
    5. .5%
    6. 1%
    7. 1.5%
    8. 2%
    Answer :

    Option F

  • 13. Can we overload constructors in C++

    1. Yes
    2. No
    Answer :

    Option A

  • 14. Which operator is used to define a member of a class from outside the class definition

    1. ->
    2. ::
    3. .
    4. >>
    Answer :

    Option B

Please Like Us