download Mastguru Android App

Question Detail

Which operator is used to define a member of a class from outside the class definition

  • ->
  • ::
  • .
  • >>
Similar Questions :

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

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

3. cout is declared in the _____ standard file within the std namespace

  • outstream
  • stdin
  • iostream
  • None of above

4. Stack unwinding deals with

  • deals with polymorphism
  • deals with inheritance
  • deals with exception handing
  • deals with classes

5. If no constructor is there, then compiler assumes the class to have a default constructor with no arguments

  • True
  • False
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment