Printing Hello World without semicolon - My articles - Publisher - Information Technology
Saturday, 2016-12-03, 10:46 PM
ebooks Programming Computer Science
Welcome Guest | RSS
Site menu
Section categories
My articles [23]
Main » Articles » My articles

Printing Hello World without semicolon
#include<stdio.h>

void main()
{
if(printf("hello world\n"))
{}
}

another process:

#include<stdio.h>

void main()
{
       switch(printf("Hello World\n"))
       {

       }
     // no semicolon in entire program
}

Category: My articles | Added by: Sumrat (2012-09-10)
Views: 3238 | Rating: 0.0/0
Total comments: 0
Name *:
Email *:
Code *:
Our poll
Rate my site
Total of answers: 152
Statistics

Total online: 1
Guests: 1
Users: 0
Login form