download Mastguru Android App

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. Reference is like a

  • Pointer
  • Structure
  • Array
  • None of above

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

  • ;
  • :
  • >>
  • <<

3. what is a class in c++

  • Class in a collection of objects
  • Class has noting to do with object
  • It just have declaration of few variables
  • None of above

4. \r is used for

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

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