If the optional third argument is omitted when getline() is called, the default terminating character is ____.

A. not defined
B. the right brace (})
C. the newline (‘\n') character
D. the extraction (>>) operator

Answer: C

Computer Science & Information Technology

You might also like to view...

What kind of relationship exists between a superclass and a subclass?

What will be an ideal response?

Computer Science & Information Technology

Which of the following function declaration is correct?

A. int f(int a[3][], int rowSize); B. int f(int a[][], int rowSize, int columnSize); C. int f(int a[][3], int rowSize); D. int f(int[][] a, int rowSize, int columnSize);

Computer Science & Information Technology