download Mastguru Android App

Question Detail

Which among following has invalid syntax ?

  • #include
  • #include file
  • #include "file"
  • 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. Meaning of PDB

  • Physical Database File
  • Program Database File
  • Program Direct File
  • None of above

3. 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

4. Which of the following type of class allows only one object of it to be created

  • Virtual class
  • Abstract class
  • Singleton class
  • Friend class

5. expression x.y represents as

  • member x of object y
  • member y of object x
  • member y of object pointed by x
  • all of above
Read more from - C++ Programming Questions Answers - Chapter 1
We are improving Commenting System, Soon it will be live. Thanks !
    Mastguru Youtube Channel

    Videos @mastguru

    Get Free Current Affairs and Govt Jobs Alerts in your mailbox

    To Appreciate Our Effort, Please Like Us