Question Detail

Inline functions are invoked at

  • Run time
  • Compile time
  • Debug time
  • None of above
Similar Questions :

1. Which type of variables can be referred from anywhere in the c++ code

  • All variables
  • Local variables
  • Universal variables
  • Global variables

2. \r is used for

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

3. Declaring pointer more than one can cause

  • Trap
  • abort a program
  • error
  • none of above

4. How to define a destructor

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

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