Solved

Which of the Following Statements Creates a Tuple Containing Two

Question 1

Multiple Choice

Which of the following statements creates a tuple containing two strings, an int and a double?


A) tuple<string, string, int, double> hammerInventory{"12345", "Hammer", 32, 9.95};
B) auto hammerInventory{make_tuple(string("12345") , string("Hammer") , 32, 9.95) };
C) tuple hammerInventory{"12345", "Hammer", 32, 9.95};
D) Both A) and (b) .

Correct Answer:

verifed

Verified

Related Questions