Expression Solving within if  : Tutorial on If

Example : 
                 void main ( )
                 {
                 int x = 10 ;
                 if ( x  % 2 ==  0 )            // Expression
                          printf (“n Number is Even”);
                 else
                         printf (“n Number is Odd”);
                 }