download Mastguru Android App

Question Detail

Which among following has invalid syntax ?

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

1. How we mark the end of c++ statement

  • ;
  • :
  • >>
  • <<

2. what is a class in c++

  • Class in a collection of objects
  • Class has noting to do with object
  • It just have declaration of few variables
  • None of above

3. Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==

4. C++ programs must contain

  • start()
  • system()
  • main()
  • program()

5. Which class has only one unique value for all the objects of class

  • this
  • friend
  • static
  • none of above
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment