Question Detail

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

1. All members of class have which access to its members

  • private
  • public
  • protected
  • depends

2. Default constructor has how many arguments

  • 1
  • 2
  • 3
  • 0

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

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

4. Reference is like a

  • Pointer
  • Structure
  • Array
  • None of above

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

  • this
  • friend
  • static
  • none of above
Read more from - C++ Programming Questions Answers - Chapter 1