Question Detail

Which among following has invalid syntax ?

  • #include
  • #include file
  • #include "file"
  • None of above
Similar Questions :

1. Which arithmetic operation can be done in pointer

  • Multiplication
  • Division
  • Addition
  • None of above

2. All members of class have which access to its members

  • private
  • public
  • protected
  • depends

3. \r is used for

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

4. How to define a destructor

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

5. Stack unwinding deals with

  • deals with polymorphism
  • deals with inheritance
  • deals with exception handing
  • deals with classes
Read more from - C++ Programming Questions Answers - Chapter 1