download Mastguru Android App

Question Detail

Which is boolean operator for logical and

  • &
  • ||
  • &|
  • &&
Similar Questions :

1. Dereference operator is also called as

  • pointer
  • Reference operator
  • Offset operator
  • Deoffset operator

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

  • ->
  • ::
  • .
  • >>

3. Can we overload constructors in C++

  • Yes
  • No

4. How to define a destructor

  • X~() {}
  • X() {}~
  • X() ~{}
  • ~X() {}

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