Google News
logo
CPP - Quiz(MCQ)
What is the use of get() function in tuples?
A)
To delete an element
B)
To access an element of a tuple
C)
To print an element of a tuple
D)
To check whether the element of the tuple is empty

Correct Answer :   To access an element of a tuple


Explanation : get() function is provided with header file to access an element of a tuple.

Advertisement