Question Detail

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

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

  • private
  • public
  • protected
  • depends

2. Meaning of PDB

  • Physical Database File
  • Program Database File
  • Program Direct File
  • None of above

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. If no constructor is there, then compiler assumes the class to have a default constructor with no arguments

  • True
  • False

5. Which is boolean operator for logical and

  • &
  • ||
  • &|
  • &&
Read more from - C++ Programming Questions Answers - Chapter 1