download Mastguru Android App

Question Detail

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

  • Virtual class
  • Abstract class
  • Singleton class
  • Friend class
Similar Questions :

1. \r is used for

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

2. Meaning of deed copy is

  • A deep copy creates a copy of the dynamically allocated objects too
  • A deep copy just copies the values of the data as they are
  • A deep copy creates a copy of the statically allocated objects too
  • Both A and C

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

  • ->
  • ::
  • .
  • >>

4. What is the value of sizeof(char)

  • 1
  • 2
  • 4
  • 8

5. What is the meaning of base class in C++

  • Another class got inherit from this class
  • It inherit other class
  • It has a pointer variable
  • It is the first class declared
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment