C single statement after if




Single Statement after ‘if’ Does not Require Opening and Closing Braces : Tutorial on If

  1. Single Statement after if Does not Require Opening And Closing Braces
  2. Example : 
             void main ( )
             {
             int x = 10 ;
             if ( x  > 0  )
                      printf (“n Number is Positive”);
             }