Which of the following returns the fourth character in the string variable named str and checks if there is a fourth character in the string?
A) str3) ;
B) str.at3) ;
C) str[3];
D) All of the above
Correct Answer:
Verified
Q50: If the name of a file to
Q51: How can you assign the value "toaster"
Q52: If you want to read into a
Q53: Which of the following would correctly read
Q54: To add an element to a vector
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
Q59: What is the difference between strcmp and
Q60: Given the following declarations, which of the
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