To get a complete line of 70 or so character into a C-string is as simple as declaring a long enough C-string and then using the >> operator to extract the line from the input.
Correct Answer:
Verified
Q14: ANSI/ISO C++ standard includes a string-handling library
Q15: C-string literals are written 'Hello'.
Q16: A C-string variable is an array,so it
Q17: A C-string variable with a something in
Q18: You can assign a standard string to
Q20: It is illegal to write char message[]
Q21: What is the problem (if any)with this
Q22: The header file that you must #include
Q23: Write code to define a C-string aString
Q24: Given the following definition and initialization.Write a
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