download Mastguru Android App

Question Detail

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

1. How we mark the end of c++ statement

  • ;
  • :
  • >>
  • <<

2. Which is not a correct variable type

  • float
  • int
  • double
  • real

3. Meaning of STL

  • Standard Tree Library
  • Standard Term Library
  • Standard Template Library
  • None of above

4. Which is boolean operator for logical and

  • &
  • ||
  • &|
  • &&

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

  • outstream
  • stdin
  • iostream
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment