x + y / 2 * z <= c && b > 0
( x + y ) / z;
int global = 0;
int foo( int & j )
{
j = 10;
global = 20;
}
int main()
{
int x = 30;
foo( x );
cout << global << x;
}
if ( cond ) x = value1; else x = value2;
x = cond ? value1 : value2;
Complex a,b,c; assign(a, add(b, c)); // awkward functional notation a.assign(b.add(c)); // awkward object-oriented notation a = b * c; // natural notation
float x, y; int i; x = i + y; // C++ will coerce i to a float
if (p != null && p->field == value)
name Assign expression
++, --, +=, -=
int ch; while ( (ch = getchar()) != EOF ) putchar(ch);
int a = 0; if ( a = 0 ) // never true
if ( a == 0 ) // returns boolean if ( a = b ) // returns int - error