a) Container consisting of two data elements of the same type
b) Container consisting of two data elements of different type
c) Container consisting of one header and two data elements of the same type
d) Container consisting of two data elements can have the same or different type
1 thought on “ What is a pair?”
Leave a Comment
You must be logged in to post a comment.
d
Explanation: Pair is a container defined in STL which consist of two elements which can be of same or different types.