CSE Logo

Other Errors and Warnings 

Created by Theodora Yeung
 

Math notation:   a<b<c

 /*  if you have the following section code , you will get the print out " test failed" */
        int i = 0;
    if(-1 < i < 1)        /* C does not evaluate this correctly, you have to write -1 < i && i < 1 for it to work properly */
          printf(" i is between 1 and -1 \n");
     else
          printf("test failed \n");