I just wondered if I could really write this program. But on rethinking, I found it to be easy. Given below is the C program to print name without using semicolon:



int main()
{
          if(printf("Devloper 4 U \n"))
          {
          }
}


A silly mistake such as omitting the curly braces in the empty "if" block would prove expensive as it is a compilation time error.

Comments ( 0 )