download Mastguru Android App

Question Detail

Which among following has invalid syntax ?

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

1. Meaning of STL

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

2. How to define a destructor

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

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

  • private
  • public
  • protected
  • depends

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

  • ->
  • ::
  • .
  • >>

5. ios::ate is used for

  • Set the initial position at the start of the file
  • Set the last position at the end of the file
  • Set the initial position at the end of the file
  • Set the last position at the start of the file
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment