What will be the output of the following program?
#include <iostream>
using namespace std;
int main()
{
int a = 5, b = 6, c, d;
c = a, b;
d = a, b;
cout <<c<<"" <<d;
return 0;
}
Answers
Answered by
0
Answer:
Output will be
5 6
Explanation:
It is a separator here. In C, the value a is stored in c and in d the value b is stored in d because of the bracket.
Similar questions