/*
  x=2 returns two!
*/

#include <iostream>
using namespace std;

int main()
{
   double x=1.0;
   double y=1.0;

   cout << "x=" << x << "  y=" << y << endl;

   // Repeated assignment
   x=y=2.0;

   cout << "x=" << x << "  y=" << y << endl;




   // Weird but syntatically correct!

   y=2;

   1+1;

   2;

   cout << (y=2.0) << "\n";


   return 0;
}
