download Mastguru Android App

Question Detail

Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==
Similar Questions :

1. Which is not C++ storage class

  • auto
  • register
  • static
  • iostream

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

3. Can we overload constructors in C++

  • Yes
  • No

4. Meaning of STL

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

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