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. How to define a destructor

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

2. Meaning of STL

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

3. Which is boolean operator for logical and

  • &
  • ||
  • &|
  • &&

4. Difference between static and dynamic memory allocation is

  • In static memory allocation memory to be allocated in preknown
  • In dynamic memory allocation memory to be allocated in preknown
  • There is no differnece
  • Not exact difference is mentioned

5. Which is not a correct variable type

  • float
  • int
  • double
  • real
Read more from - C++ Programming Questions Answers - Chapter 1