Thursday, 22 August 2013

How to print Hello with out using ;(semi-colon)?

This can be done using following ways:

1.#include<stdio.h>
void main(){
    if(printf("Hello world")){
    }
}



2.#include<stdio.h>
void main(){
    while(!printf("Hello world")){
    }
}



3.#include<stdio.h>
void main(){
    switch(printf("Hello world")){
    }
}

0 comments:

Post a Comment