How many parameters are there in getline function?

a) 1
b) 2
c) 2 or 3
d) 3

1 thought on “How many parameters are there in getline function?”

  1. c
    Explanation: There are two or three parameters in getline() function. They are a pointer to an array of characters and maximum number of characters and an optional delimiter.

Leave a Comment