Question Detail

Which operator is used to define a member of a class from outside the class definition

  • ->
  • ::
  • .
  • >>
Similar Questions :

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

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

2. Which among following has invalid syntax ?

  • #include
  • #include file
  • #include "file"
  • None of above

3. \r is used for

  • carriage return
  • new line
  • end of the line
  • vertical tab

4. Which of the following functions below can be used Allocate space for array in memory

  • calloc()
  • malloc()
  • realloc()
  • All of above

5. Inline functions are invoked at

  • Run time
  • Compile time
  • Debug time
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1