Question Detail

Can #define accept parameters

  • Yes
  • No
Similar Questions :

1. If no constructor is there, then compiler assumes the class to have a default constructor with no arguments

  • True
  • False

2. Meaning of PDB

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

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

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

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