If you want to read into a c-string, you must ensure that the user does not enter more characters than
A) The size of the c-string
B) The size of the c-string + 1
C) The size of the c-string -1
D) It doesn't matter.
Correct Answer:
Verified
Q47: What is the proper way to declare
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"
Q53: Which of the following would correctly read
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
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