Question Detail

How we mark the end of c++ statement

  • ;
  • :
  • >>
  • <<
Similar Questions :

1. \r is used for

  • carriage return
  • new line
  • end of the line
  • vertical tab

2. 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

3. Which of the following cannot be inherited from the base class

  • Constructor
  • Friend
  • Both A and B cannot be inherited
  • Both A and B can be inherited

4. What is abstract class

  • Whose objects cant be created
  • Whose objects can be created
  • Depends on class
  • None of above

5. 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
Read more from - C++ Programming Questions Answers - Chapter 1