You are not logged in.

#1 2017-12-07 14:40:16

hamidoon123
Moderator
Registered: 2017-09-21
Posts: 50,766

What is the output of this program? #include < iostream > using...

Software Engineering Exams Quizzes MCQs Quizzes C++ Online MCQs Test

Question:
What is the output of this program?
#include < iostream >
using namespace std;
int main()
{
int a = 5, b = 6, c, d;
c = a, b;
d = (a, b);
cout << c << 't' << d;
return 0;
}

Option A):
6 5
Option B):
None of the mentioned
Option C):
5 6
Option D):
6 7

Correct Answer is Option C):
5 6

2017-12-07 14:40:16

Advertisement
Ads By Google

Re: What is the output of this program? #include < iostream > using...



\n

Board footer