/* This example shows using if - else statement.
   Else always belongs to nearest if, except the case,
   when sequence control structure is used. This code
   should produce value 02.
*/

int a,b,c;
void main() {
 a=0;
 b=1;
 c=2;
  if (a==b) {			/* No */
   printf(a);
   printf(b);
  } else 
      if (a==1) printf(b);      /* No */
       else printf(c);          /* Yes */
				/* ERROR - '}' expected */ 		