C++ Programming Questions Answers - Chapter 1

  • 22. Dereference operator is also called as

    1. pointer
    2. Reference operator
    3. Offset operator
    4. Deoffset operator
    Answer :

    Option C

  • 23. Which class has only one unique value for all the objects of class

    1. this
    2. friend
    3. static
    4. none of above
    Answer :

    Option C

  • 24. Which of the following cannot be inherited from the base class

    1. Constructor
    2. Friend
    3. Both A and B cannot be inherited
    4. Both A and B can be inherited
    Answer :

    Option C

  • 25. What is abstract class

    1. Whose objects cant be created
    2. Whose objects can be created
    3. Depends on class
    4. None of above
    Answer :

    Option A

  • 26. Declaring pointer more than one can cause

    1. Trap
    2. abort a program
    3. error
    4. none of above
    Answer :

    Option A

  • 27. Which is not a correct variable type

    1. float
    2. int
    3. double
    4. real
    Answer :

    Option D

  • 28. Can #define accept parameters

    1. Yes
    2. No
    Answer :

    Option A

Please Like Us