Question Detail

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
Similar Questions :

1. Which is not C++ storage class

  • auto
  • register
  • static
  • iostream

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

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

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. Meaning of STL

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

5. Which among following has invalid syntax ?

  • #include
  • #include file
  • #include "file"
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1