C++ Multiple Choice Questions

  1. C++ actually supports the following two complete dynamic systems?
    1. One defined by C++ and the other not defined by C
    2. One defined by C and one specific to C++
    3. Both are specific to C++
    4. Both of them are improvements of C
Answer :
B
Explanation:
Added By : Anuradha


  1. Which of the following correctly describes overloading of functions?
    1. Virtual polymorphism
    2. Transient polymorphism
    3. Ad-hoc polymorphism
    4. Pseudo polymorphism
Answer :
C
Explanation:
Added By : Anuradha

  1. Which of the following concepts means adding new concepts to a program as it runs?
    1. Data hiding
    2. Dynamic loading
    3. Dynamic typing
    4. Dynamic binding
Answer :
B
Explanation:
Added By : Harish


  1. Which of the following operators can not be overloaded in C+ +?
    1. *
    2. ==
    3. +=
    4. ::
Answer :
D
Explanation:
Added By : Naresh

  1. What is a size of empty class in c++?
    1. 4 bytes
    2. 2 bytes
    3. 0 bytes
    4. 1 bytes
Answer :
D
Explanation:
Added By : Sandip Walunj

  1. In c++ object of the class is also called?
    1. Constants
    2. Tag
    3. Instance
    4. Data collection
Answer :
C
Explanation:
Added By : Amit


  1. ________ is a default access specifier for members of class in C++.
    1. protected
    2. public
    3. private
    4. default
Answer :
C
Explanation:
Added By : Sandip Walunj

  1. ________ is a default access specifier for members of structures in C++.
    1. protected
    2. public
    3. private
    4. default
Answer :
B
Explanation:
Added By : Sandip Walunj

Post Your Question
Social Sharing
Search