How many parameters are there in getline function?
A. 1
B. 2
C. 2 or 3
D. 3
Answer:A
How many parameters are there in getline function?
A. 1 B. 2 C. 2 or 3 D. 3
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.