Using Comments to Disable : Comments « Language « C Tutorial






Comments are ignored by the compiler.

You can use comments to disable certain parts of your program.

#include <stdio.h>
 
int main(){
  
   /* printf("%15s","right\n"); */
   printf("%-15s","left\n");
   return(0);
}
left








1.15.Comments
1.15.1.Adding Comments
1.15.2.Using Comments to Disable
1.15.3.The comments are enclosed in '/*...*/'
1.15.4.The '//' is used as single line comment
1.15.5.Source code header comments