download Mastguru Android App

Question Detail

Which operator is used for comparing two variables

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

1. \r is used for

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

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. What is inheritance

  • Inheritance allows one class to reuse the state and behavior of another class.
  • It deals with dangling pointers
  • It deals with void pointers
  • It is type of class declaration

5. How we define our name for constants

  • #constant
  • #define
  • #define_constant
  • #constant_define
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment