Which of the following would correctly read an entire line from an input file stream named fin into a string variable named line.
A) getlinefin, line) ;
B) fin.getlineline) ;
C) fin.getlineline,'\n\') ;
D) fin.getlineline,80) ;
Correct Answer:
Verified
Q48: Which assignment statements will copy the value
Q49: What is wrong with the following code
Q50: If the name of a file to
Q51: How can you assign the value "toaster"
Q52: If you want to read into a
Q54: To add an element to a vector
Q55: Which of the following returns the fourth
Q56: To declare a c-string and initialize it
Q57: The base type for a vector can
Q58: When the extraction operator is used to
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents