Question Detail

Which class has only one unique value for all the objects of class

  • this
  • friend
  • static
  • none of above
Similar Questions :

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

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

  • ->
  • ::
  • .
  • >>

3. What is getline() in c++

  • getline() extract the delimeter newline character from the input stream
  • getline() does not extract the delimeter newline character from the input stream
  • None of above

4. How we mark the end of c++ statement

  • ;
  • :
  • >>
  • <<

5. C++ programs must contain

  • start()
  • system()
  • main()
  • program()
Read more from - C++ Programming Questions Answers - Chapter 1