Home Pair Lesson 2 Pair Lesson 2 Author - Suman Barik October 03, 2022 0 #include <bits/stdc++.h>using namespace std;int main() { pair< int, pair< int, char>> pair1 = {3, {4, 'a'}}; int a,b; char c; a = pair1.first; tie(b,c) = pair1.second; cout << a << " " << b << " " << c; return 0; } Facebook Twitter Whatsapp Newer Older