Google+ COMPUTER TRICKS, TWEAKS AND TUTORIALS: Print Semicolon without using a semicolon

Print Semicolon without using a semicolon



Print Semicolon without using a semicolon

   #include <stdio.h>
   int main(void)
   {
     //prints the character with ascii value 59, i.e., semicolon
     if (printf("%c\n", 59))
     {
       //prints semicolon
     }
     return 0;
   }