Vidyalelo
C++ Programming · Q198

C++ miscellaneous

Programming · C++ Programming · question 198

Q198

What will be the output of the following C++ code? #include #include #include using namespace std; int main() tuple tp; tp = make_tuple(4, '1', "Hello"); cout (tp) (tp) (tp)<<endl; return 0;

A.
1
Hello
4
B.
4
Hello
1
C.
Hello
4
1
D.
4
1
Hello
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board