Question Detail

\r is used for

  • carriage return
  • new line
  • end of the line
  • vertical tab
Similar Questions :

1. Which is boolean operator for logical and

  • &
  • ||
  • &|
  • &&

2. Inline functions are invoked at

  • Run time
  • Compile time
  • Debug time
  • None of above

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

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

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

5. What is inheritance

  • Inheritance allows one class to reuse the state and behavior of another class.
  • It deals with dangling pointers
  • It deals with void pointers
  • It is type of class declaration
Read more from - C++ Programming Questions Answers - Chapter 1