download Mastguru Android App

Question Detail

Every class has atleast one construtor

  • True
  • False
Similar Questions :

1. Reference is like a

  • Pointer
  • Structure
  • Array
  • None of above

2. Meaning of deed copy is

  • A deep copy creates a copy of the dynamically allocated objects too
  • A deep copy just copies the values of the data as they are
  • A deep copy creates a copy of the statically allocated objects too
  • Both A and C

3. What is inheritance

  • Inheritance allows one class to reuse the state and behavior of another class.
  • It deals with dangling pointers
  • It deals with void pointers
  • It is type of class declaration

4. expression x.y represents as

  • member x of object y
  • member y of object x
  • member y of object pointed by x
  • all of above

5. Which arithmetic operation can be done in pointer

  • Multiplication
  • Division
  • Addition
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment

  • Buff 12 years ago

    I had no idea how to appoarch this before-now I'm locked and loaded.