Which of the following defines an array object that holds three strings?
A) array<int, 3> items = {blue, green, yellow}
B) array<strings, 4> items = {'blue', 'green', 'yellow',}
C) array<string, 4> items = {"blue", "green", "yellow"}
D) array<4> string items {"blue", "green", "yellow"}
E) None of these
Correct Answer:
Verified
Q28: Because a vector container uses a dynamically
Q29: When an element is stored in a
Q30: To use the binary_search() algorithm you need
Q31: Select all that apply. Which of the
Q32: To use the map class, you must
Q33: Select all that apply. Which of the
Q34: The vector class has a _ member
Q36: A technique introduced by C++11 to improve
Q37: Select all that apply. An object of
Q38: A sequence container that is dynamic in
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