Question Detail

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
Similar Questions :

1. Inline functions are invoked at

  • Run time
  • Compile time
  • Debug time
  • None of above

2. All members of class have which access to its members

  • private
  • public
  • protected
  • depends

3. Constructor is

  • A class automatically called whenever a new object of this class is created
  • A class automatically called whenever a new object of this class is destroyed
  • A function automatically called whenever a new object of this class is created
  • A function automatically called whenever a new object of this class is destroyed

4. ios::ate is used for

  • Set the initial position at the start of the file
  • Set the last position at the end of the file
  • Set the initial position at the end of the file
  • Set the last position at the start of the file

5. Reference is like a

  • Pointer
  • Structure
  • Array
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1