MCQs > IT & Programming > C++ > Output of following code:- #include using namespace std; int main() { int a = 1, b = 2, c, d; c = a, b; d = (a, b); cout << c << ' ' << d; return 0; }

C++ MCQs

What will be the output of following code:- #include <iostream> using namespace std; int main() { int a = 1, b = 2, c, d; c = a, b; d = (a, b); cout << c << ' ' << d; return 0; }

Answer

Correct Answer: 1 2

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it