What would be the output of the following program?

1.3 What would be the output of the following program?
int main( )
{
int x, y=10,z=10;
x=(y==z);
cout<<x;
return 0; }
A) 0
B) 1
C) 10
D) error

Leave a Reply